Swift 3 framework for accessing data in Event Registry (http://eventregistry.org/)

Overview

PPEventRegistryAPI

Swift 3 framework for accessing data in Event Registry (http://eventregistry.org/)

CI Status codecov.io Code Climate Version License Platform Swift Version Carthage compatible Swift Package Manager compatible

Supported API calls

  • Log In
  • Get Event By Identifier
  • Get Recent Articles

Known Issues

Installation

PPEventRegistryAPI is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "PPEventRegistryAPI"

PPEventRegistryAPI is also available through Carthage. Add the following line to your Cartfile:

github "pantuspavel/PPEventRegistryAPI"

Developer Setup

The following stuff needed: Xcode 8, Bundler, CocoaPods.

To open the project:

git clone [email protected]:pantuspavel/PPEventRegistryAPI.git
cd PPEventRegistryAPI
bundle
pod install
open PPEventRegistryAPI/PPEventRegistryAPI.xcworkspace

To open an example project:

git clone [email protected]:pantuspavel/PPEventRegistryAPI.git
cd PPEventRegistryAPI/Example
bundle
pod install
open Example/PPEventRegistryTest.xcworkspace

Code Style

Author

Pavel Pantus, @pantusp, [email protected]

License

PPEventRegistryAPI is available under the MIT license. See the LICENSE file for more info.

Links

You might also like...
Unofficial GitHub API client in Swift
Unofficial GitHub API client in Swift

Github.swift ❤️ Support my apps ❤️ Push Hero - pure Swift native macOS application to test push notifications PastePal - Pasteboard, note and shortcut

A swift SDK for Medium's OAuth2 API

Medium SDK - Swift A library to allow access to Medium API for any Swift iOS application. Features Medium.com authorization & token handling Login sta

Build Slack apps, in Swift
Build Slack apps, in Swift

SlackKit: Slack Apps in Swift Description SlackKit makes it easy to build Slack apps in Swift. It's intended to expose all of the functionality of Sla

Swift client for Unsplash
Swift client for Unsplash

Unsplash API client written in Swift. Unsplash offers 2 APIs: Source API (unlimited requests) Official API JSON API (5000 requests / hour) JSON API is

The Swift-est way to build native mobile apps that connect to Salesforce.
The Swift-est way to build native mobile apps that connect to Salesforce.

Swiftly Salesforce is the Swift-est way to build native mobile apps that connect to Salesforce: Written entirely in Swift. Very easy to install and up

An Elegant Spotify Web API Library Written in Swift for iOS and macOS
An Elegant Spotify Web API Library Written in Swift for iOS and macOS

Written in Swift 4.2 Spartan is a lightweight, elegant, and easy to use Spotify Web API wrapper library for iOS and macOS written in Swift 3. Under th

An Elegant Financial Markets Library Written in Swift
An Elegant Financial Markets Library Written in Swift

Notice As of May 20th, 2017, it appears that Yahoo is dropping support for a few features that BigBoard supports or there is an outage on their end ca

Swift Wrapper For Bittrex API

BittrexApiKit Swift client for Bittrex api. It support all APIs with most recent changes. more info here let api = Bittrex(apikey: "api key", secretke

Instagram API client written in Swift
Instagram API client written in Swift

SwiftInstagram is a wrapper for the Instagram API written in Swift. It allows you to authenticate users and request data from Instagram effortlessly.

Comments
  • Deploy from only one job within a build matrix

    Deploy from only one job within a build matrix

    I should also mention that you probably should not deploy from all of your jobs within a build matrix. It can lead to possible race conditions where deployment may fail unexpectedly. Please see https://docs.travis-ci.com/user/deployment/#Conditional-Releases-with-on%3A

    bug help wanted 
    opened by pavelpantus 1
  • Replace completionHandlers with onSuccess onError approach

    Replace completionHandlers with onSuccess onError approach

    import UIKit
    
    class Request {
    }
    
    extension Request {
        @discardableResult
        func onSuccess(closure: ([Any]) -> Void) -> Self {
            /* do stuff */
            return self
        }
        @discardableResult
        func onFailure(closure: (Error) -> Void) -> Self {
            /* do stuff */
            return self
        }
    }
    
    Request().onSuccess { objects in
    
    }.onFailure { error in
    
    }
    
    enhancement 
    opened by pavelpantus 1
  • Introduce enum based search by api calls

    Introduce enum based search by api calls

    Should respect multiple filter factors:

    getEvents(filters:[EventFilter], completionHandler:(events: [Event]?, error: Error?))
    
    enum EventFilter {
      case Count(Int)
      case Language(String)
      case Identifier(Int)
    }
    
    enhancement 
    opened by pavelpantus 0
  • Add optional initializers to all data structs.

    Add optional initializers to all data structs.

    PPModelMapper's mapDataToModelObject should return optional data structure. PPModelMapper's mapDataToModelObjects should return an array of data structures, optionals should be flatMaped out.

    enhancement help wanted 
    opened by pavelpantus 0
Releases(0.0.3)
  • 0.0.3(Oct 23, 2016)

    • Add documentation
    • Reconcile naming
    • Make PPTransport a struct
    • Introduce generic Return type, that incapsulates returned object and error (Public API change)
    • Introduce PPError enum and return it instead of NSError (Public API change)
    • Turn on 'treat warnings as errors' flag for every target
    • Add Swift Package Manager Support
    • Introduce Concept data model
    • Break API class in domain specific extensions
    • Introduce method to select http vs https
    • Create test event registry account for Example projects
    • Introduce travis cache
    • Add framework deploy step to travis file
    Source code(tar.gz)
    Source code(zip)
    PPEventRegistryAPI.framework.zip(3.85 MB)
  • 0.0.2(Oct 1, 2016)

    • Configurable maxArticleCount in Get articles operation
    • Carthage support
    • Support for older platforms
    • Login operation does not return error in case of missingData error
    • Add pod lint as a step of the build script
    • Cover PPTransport with tests
    • Replace HTTP methods strings with enums
    • Minor code style corrections in operations
    • Enforce completion closures for operations (Public API change)
    • flatMap instead of forEach
    • Minor stubs naming and style corrections
    • Delete OWNERS file
    • Update example's podfile to the latest version
    Source code(tar.gz)
    Source code(zip)
Owner
Pavel Pantus
Pavel Pantus
👤 Framework to Generate Random Users - An Unofficial Swift SDK for randomuser.me

RandomUserSwift is an easy to use Swift framework that provides the ability to generate random users and their accompanying data for your Swift applic

Wilson Ding 95 Sep 9, 2022
iOS/macOS Cross-platform Ark-Ecosystem Framework in Swift | Powered by Ѧrk.io |

a macOS & iOS Swift Framework for Ark.io. What is ARKKit? ARKKit is wrapper for interacting with the Ark Ecosystem. It is written purely in Swift 4.0,

Simon 19 Jun 28, 2022
A Swift Framework build for the Ark Ecosystem

Introduction Overview SwiftyArk is a simple, lightweight framework for the Ark Ecosystem. SwiftyArk provides a simple wrapper for accessing Ark accoun

Andrew Walz 8 May 12, 2019
A Slack API Client for the Perfect Server-Side Swift Framework

PerfectSlackAPIClient is an API Client to access the Slack API from your Perfect Server Side Swift application. It is build on top of PerfectAPIClient

Cap.雪ノ下八幡 2 Dec 1, 2019
A Jamf Classic communication framework written in Swift

JamfKit JamfKit is an iOS / macOS / tvOS framework to communicate with the JSS API offered by any Jamf host. Summary Features Installation Carthage Co

Damien R. 40 Mar 31, 2022
ObjectiveFlickr, a Flickr API framework for Objective-C

ObjectiveFlickr ObjectiveFlickr is a Flickr API framework designed for Mac and iPhone apps. OAuth Support ObjectiveFlickr now supports Flickr's new OA

Lukhnos Liu 714 Jan 9, 2023
Wanikani-swift - Unofficial Swift client for the WaniKani API

WaniKani A Swift library and client for the WaniKani REST API. It currently supp

Aaron Sky 5 Oct 28, 2022
AWS Full Stack Swift with Apple CarPlay

This application demonstrates a full-stack Apple CarPlay app that uses Swift for both the UI and the backend services in AWS. The app accesses Lambda functions written in Swift and deployed from Docker images. The app accesses Amazon Location Service and a 3rd party weather api to display information in the vicinity of the user.

AWS Samples 100 Jan 6, 2023
A Swift wrapper for Foursquare API. iOS and OSX.

Das Quadrat Das Quadrat is Foursquare API wrapper written in Swift. Features Supports iOS and OSX. Covers all API endpoints. Authorization process imp

Constantine Fry 171 Jun 18, 2022
Pokeapi wrapper, written in Swift

PokemonKit What is this? PokemonKit is a swift wrapper for Pokeapi. PokemonKit use Alamofire and PromiseKit for async web requests handling. Usage imp

Continuous Learning 105 Nov 16, 2022