Giter Site home page Giter Site logo

api-ng-sample-code's Introduction

Betfair API-NG Code Samples

This github respository contains sample code in various languages to help customers get started with writing betfair API-NG clients. For more information about API-NG please see Getting started with API-NG documentation and developer.betfair.com.

Please note, these are not intended to be fully fledged clients and all follow an identical set of scenarios. As a result, we do not wish to extend the samples with pull requests that extend only a single language sample or add functionality not in the below scenarios.

Each of the basic language samples demonstrates a basic use case of placing a bet on the next GB Horse Racing market:

  • Find the next UK Horse Racing Win market
  • Get prices for the market
  • Place a bet on the market
  • Handle the error returned by the API when the bet fails as it is below the minimum stake size.

For the sake of simplictity and ease of understanding, these samples are not intended to show best practice for optimisations for speed or throughput.

A comprehensive description of the samples can be found in the developer samples documentation.

There is also a limited sample of login examples within the loginCode subdirectory and an Android sample app in the android subdirectory.

The sample code is not intended to be used as-is in a production environment and carries no assurances or guarantees.

api-ng-sample-code's People

Contributors

doowad avatar hkraskian avatar jamiei avatar pacher avatar stottpaul avatar tombart avatar

Watchers

 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.