Build Status
APING iOS Client
This package includes a library for interacting with Betfair's APING.
Requirements
Your project will need a deployment target of iOS 5 or above.
Installation
CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like BNGAPI in your projects.
Podfile
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '5.0'
pod "BNGAPI", "2.1"
Alternatively, you can just git submodule BNGAPI into your project. All steps in Jeff Verokey's iOS Framework guide are followed for BNGAPI.
Documentation
All documentation for BNG API is available at http://cocoadocs.org/docsets/BNGAPI/.
All APING documentation is available at https://api.developer.betfair.com/services/webapps/docs/dashboard.action
Usage
The sample application in this repository include a simple example of how to log into Betfair's services and retrieve a session token. Session tokens uniquely identify an authorised session & is a prerequisite for a lot of betting operations.
The sample application code must be modified to include your own APING application key before it can be run. An application key can be requested from https://api.developer.betfair.com/services/webapps/docs/display/1smk3cen4v3lu3yomq5qye0ni/Getting+Started+with+API-NG
See BNGExampleViewController
for more details on how to login to Betfair's services.