Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
##### Description:

This is a maven project containing Java sample code to connect to the Betfair API NG application.

It requires:
  -Apache Maven 3 (3.0.3)
  -Java 7

##### To build:

You need Apache Maven in order to build the application. Execute:
   mvn clean install


##### How to invoke:

You can again use Apache Maven to run the application passing the app key, session token and the method (json-rpc or rescript:
    mvn exec:java -Dexec.mainClass="com.betfair.aping.ApiNGDemo" -Dexec.args="<YOUR APP KEY> <YOUR SESSION TOKEN> <METHOD>"

    <YOUR APP KEY>: a valid app key
    <YOUR SESSION TOKEN>: a valid Betfair session token
    <METHOD>: json-rpc or rescript

     example: mvn exec:java -Dexec.mainClass="com.betfair.aping.ApiNGDemo" -Dexec.args="myAppKey mySessionToken json-rpc"
Morty Proxy This is a proxified and sanitized view of the page, visit original site.