OhmageOMHSDK 0.4.0

OhmageOMHSDK 0.4.0

TestsTested
LangLanguage SwiftSwift
License Apache 2
ReleasedLast Release Jul 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by James Kizer.



  • By
  • James Kizer, Cornell Tech Foundry

OhmageOMHSDK

OhmageOMHSDK is data uploader for ohmage-OMH.

This project is currently experimental and will be changing rapidly. You probably shouldn’t use it yet!

Example

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

The example also depends upon two plist files:

  • OMHClient.plist, which contains the following:
    • OHMBaseURL - the URL for the OHM DSU endpoint
    • OHMClientID - the application’s OAuth Client ID
    • OHMClientSecret - the application’s OAuth Client Secret

  • Locations.plist, which is an array containing circular region descriptions
    • name - A label which will be sent to the server
    • lattitude - in degrees
    • longitude - in degrees
    • distance - in meters

Both .plist files need to be added to the Example/OhmageOMHSDK directory.

Requirements

Installation

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

pod "OhmageOMHSDK"

Author

James Kizer @ Cornell Tech Foundry

License

OhmageOMHSDK is available under the Apache 2.0 license. See the LICENSE file for more info.