Giter Club home page Giter Club logo

tk-api-ng's Introduction

TK-API-NG

Simple wrapper around the betfair api. You'll need to create & upload

1.) appid 2.) certificate

Detailed here: https://api.developer.betfair.com/services/webapps/docs/display/1smk3cen4v3lu3yomq5qye0ni/Non-Interactive+%28bot%29+login

I uploaded a "pem" certificate file to betfair but actually use a pkcs12 certificate file in the code (also shown via that link above).

Once you have an appid & certificate, all you need to do is change these values in "BetfairFace.java":

private String appid = "xxxxxxx"; //my appid
private String bfun = "xxxxxxx"; //my betfair username
private String bfpw = "xxxxxxx"; //my betfair password
private String ctpw = "xxxxxxx"; //my pkcs12 password

...and corrected the java package declarations listed at the top of both java files, then "BetfairFace.java" should build & execute, if you have the included jar file "aping-0.1-SNAPSHOT.jar" (see https://github.com/betfair/API-NG-sample-code/tree/master/java/ng) and your pkcs12 certificate file on the classpath.

Method NOT USED example: bf.createTheFile("HosreOdds.txt", mine);

For my info - http://www.pluckier.co.uk:8080/@md=d&cd=//&c=6Yw@/33?ac=10

tk-api-ng's People

Contributors

tonykennah avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.