Swift 3 framework for accessing data in Event Registry

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...
Passing data from a couple of screen into a Model
Passing data from a couple of screen into a Model

Passing-Data Passing data from a couple of screen into a Model Introduction Hi, this video is just a representation project from this Video by Essenti

Measure the power output from a car or any moving vehicle from GPS data and weight
Measure the power output from a car or any moving vehicle from GPS data and weight

GPSDyno Measure the power output from a car or any moving vehicle from weight and GPS data of your iOS device. This is just a example project and shou

A DSL for Data Manipulation

Underscore.m About Underscore.m Underscore.m is a small utility library to facilitate working with common data structures in Objective-C. It tries to

Easier sharing of structured data between iOS applications and share extensions
Easier sharing of structured data between iOS applications and share extensions

XExtensionItem XExtensionItem is a tiny library allowing for easier sharing of structured data between iOS applications and share extensions. It is ta

Taking a string containing a csv file and split it into records (aka lines) containing fields of data (aka Array of SubStrings)

Swift .csv parser Taking a string containing a csv file and split it into records (aka lines) containing fields of data (aka Array of SubStrings). Par

A visual developer tool for inspecting your iOS application data structures.
A visual developer tool for inspecting your iOS application data structures.

Tree Dump Debugger A visual developer tool for inspecting your iOS application data structures. Features Inspect any data structure with only one line

A tool to convert Apple PencilKit data to Scribble Proto3.

ScribbleConverter Example To run the example project, clone the repo, and run pod install from the Example directory first. Requirements Installation

Data Mapping library for Objective C

OCMapper is a data mapping library for Objective C that converts NSDictionary to NSObject

 Zip - A Swift framework for zipping and unzipping files. Simple and quick to use. Built on top of minizip.
Zip - A Swift framework for zipping and unzipping files. Simple and quick to use. Built on top of minizip.

Zip A Swift framework for zipping and unzipping files. Simple and quick to use. Built on top of minizip. Usage Import Zip at the top of the Swift file

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
Dedicated settings app for accessing tweaks preference bundles.

Tweak Settings A dedicated settings app for tweak preferences Author Dana Buehre (CreatureSurvive) [email protected] © Dana Buehre (CreatureSurviv

Dana Buehre 29 Dec 19, 2022
Monitor changes to files and directories using kernel event notifications (kqueue) in Swift

SKQueue SKQueue is a Swift libary used to monitor changes to the filesystem. It wraps the part of the kernel event notification interface of libc, kqu

Daniel Pedersen 86 Oct 26, 2022
Butterfly is a lightweight library for integrating bug-report and feedback features with shake-motion event.

Butterfly is a lightweight library for integrating bug-report and feedback features with shake-motion event. Goals of this project One of th

Zigii Wong 410 Sep 9, 2022
RandomKit is a Swift framework that makes random data generation simple and easy.

RandomKit is a Swift framework that makes random data generation simple and easy. Build Status Installation Compatibility Swift Package Manager CocoaP

Nikolai Vazquez 1.5k Dec 29, 2022
Framework for easily parsing your JSON data directly to Swift object.

Server sends the all JSON data in black and white format i.e. its all strings & we make hard efforts to typecast them into their respective datatypes

Mukesh 11 Oct 17, 2022
swift-highlight a pure-Swift data structure library designed for server applications that need to store a lot of styled text

swift-highlight is a pure-Swift data structure library designed for server applications that need to store a lot of styled text. The Highlight module is memory-efficient and uses slab allocations and small-string optimizations to pack large amounts of styled text into a small amount of memory, while still supporting efficient traversal through the Sequence protocol.

kelvin 4 Aug 14, 2022
A tiny generator of random data for swift

SwiftRandom SwiftRandom is a tiny help suite for generating random data such as Random human stuff like: names, gender, titles, tags, conversations Ra

Kan Yilmaz 559 Dec 29, 2022
A simple Pokedex app written in Swift that implements the PokeAPI, using Combine and data driven UI.

SwiftPokedex SwiftPokedex is a simple Pokedex app written by Viktor Gidlöf in Swift that implements the PokeAPI. For full documentation and implementa

Viktor G 26 Dec 14, 2022
Functional data types and functions for any project

Swiftx Swiftx is a Swift library containing functional abstractions and extensions to the Swift Standard Library. Swiftx is a smaller and simpler way

TypeLift 219 Aug 30, 2022
Pigeon is a SwiftUI and UIKit library that relies on Combine to deal with asynchronous data.

Pigeon ?? Introduction Pigeon is a SwiftUI and UIKit library that relies on Combine to deal with asynchronous data. It is heavily inspired by React Qu

Fernando Martín Ortiz 369 Dec 30, 2022