|Table of Content Zone|
As well as sample code developed by Betfair, this page allows you to find sample code or documentation prepared by members of the Developer Program community.
Please Note: In order to aide ease of understanding, the basic Betfair samples are not intended to show certain best practices for speed and throughput. Well designed applications should follow the best practices for client design of the application/language platform and should optimise on an HTTP request level with features such as requesting gzip'd responses and http connection keep alives. Please see Optimizing API Application Performance for further details.
The following samples are currently available:
Client Libraries & Sample Applications
|C#||https://github.com/betfair/stream-api-sample-code/tree/master/csharp||Sample application for Stream API||Betfair|
|Java||https://github.com/betfair/stream-api-sample-code/tree/master/java||Sample application for Stream API||Betfair|
|Node.js||https://github.com/betfair/stream-api-sample-code/tree/master/node.js||Sample application for Stream API||Betfair|
Code for processing the data provided by the Betfair Exchange historical data service available via https://historicdata.betfair.com
|Python||https://github.com/liampauling/betfairlightweight/tree/master/examples||Parse/output historical data allowing backtesting or with a custom listener, csv creation||Community member - LiamP|
|Python||https://github.com/mberk/betfairviz||Create visualisations of Betfair order books||Community member - mberk|
Simple Excel workbook for use with BASIC historical data Coverts files into Excel and provides basic custom reporting tools
|R||https://betfair-datascientists.github.io/api/apiRtutorial/||Betfair API R Tutorial||Betfair Australia|
|Python||https://betfair-datascientists.github.io/api/apiPythontutorial/||Betfaur API Python Tutorial||Betfair Australia|
|Visual Basic||http://www.amazon.co.uk/Programming-Betfair-Creating-Trading-Applications/dp/151143211X||A Guide to Creating Trading Application for API-NG|