Questions tagged [betfair]

This tag should be used only on questions that are about programmatic access to the Betfair API features.

Questions about BetFair generally refer to programmatic access to the BetFair exchange via its APIs, primarily:

71 questions
2
votes
1 answer

socket.gaierror: [Errno 11004] getaddrinfo failed,django

I am trying create a Betfair interactive login following this [tutorial ][1] and i keep on getting and error my app_key is correct and my username and password also correct but i think i am not getting hoe to set it to work correctly please any help…
ade desmond
  • 432
  • 1
  • 8
  • 24
2
votes
0 answers

Trying to call placeOrders function for betfair api

Trying to invoke placeOrders function from VB.NET code. I already converted C# Library on betfair website to VB.NET. Now on the line of calling the method it returns error and the e.data is nothing. Friend Shared Sub testBetting() Try …
amr osama
  • 1,129
  • 2
  • 18
  • 34
2
votes
1 answer

Encoding betfair API bot login details

I'm in the early stages of writing a bot for Betfair, and have got the basics of logging in, getting prices etc down, but I am concerned about security of the login I am making. In the API-NG tutorial (in the Certificate Login Interface Details…
fpghost
  • 2,834
  • 4
  • 32
  • 61
2
votes
1 answer

Failing to validate server certificate with OpenSSL

I have written a SOAP client using OpenSSL (written in C++ on Ubuntu 12.04) but it currently works without checking the server security certificate. This is the function I am using to set up the connection and checking the certificate bool…
mathematician1975
  • 21,161
  • 6
  • 59
  • 101
1
vote
2 answers

Why would my VB.NET WebRequest suddenly stop working?

A while ago I wrote a programme in VB.NET to use the Betfair Exchange API. It has worked perfectly for months, but overnight on Tuesday it stopped working. I can still log in, but from Wednesday I have been unable to get anything else from the…
Trickie
  • 35
  • 2
1
vote
0 answers

Betfair API PHP code not work....(no any response)

I am a beginner to use Betfair api with PHP code. Already try many times. Include Dcro, PeterAlready try many times. Include Dcro, PeterColes, API-NG sample. But never work. I can not see any response from API server. Also no any error code. Any…
cks1007
  • 11
  • 1
1
vote
1 answer

Getting Started with Betfair's Java Streaming API

I'm trying to get started with Betfair's streaming API for Java, but am having trouble building/running their sample application. Here are the steps that I've taken so far... Clone project: git clone…
Ginger
  • 8,320
  • 12
  • 56
  • 99
1
vote
2 answers

Betfair API output time zone off sometimes

I am laying bets through the Betfair API and noticed something very strange. For some events the time is off on both market and event results. My account date and time are set to Europe/London. Not that it matters, the API outputs whatever zone it…
Nick M
  • 2,424
  • 5
  • 34
  • 57
1
vote
0 answers

Accessing https response object from external API in a node express application

My code currently makes a request to an external API which then responds with a JSON object. I currently log that to my console so no problems on that end. I need to reference the object externally however so I can display it on my pug page to the…
Paul Clark
  • 61
  • 1
  • 14
1
vote
1 answer

Modelling Data with Google App Engine Datastore

I am currently building a web application on Google App Engine in Python to harvest horse racing data of the form. The basic data structure is Course has many Meetings has many Races has many Horses has one Jockey and had one Trainer. So far I have…
user137621
1
vote
1 answer

INPUT_VALIDATION_ERROR in BetFair Login API / iOS

I am getting INPUT_VALIDATION_ERROR while logging into betfair api. I am following the docs, but it was of no use with this particular error code. I'd appreciate if anyone could guide me in the right direction. Here is my swift code let request =…
Kanishka
  • 1,097
  • 5
  • 20
  • 37
1
vote
2 answers

Error: Notice: Trying to get property of non-object

I have the following code which gets a list of data, and I am trying to filter this data by 'name' but I got this error: Error: Notice: Trying to get property of non-object Code $bpl = 31; $marketFilter = MarketFilter::create() …
Fombe F
  • 15
  • 1
  • 9
1
vote
2 answers

invoke SSL on betfair.py

I've been looking to plug into the Betfair api via betfair.py. I'm completely stuck at the 'invoke ssl' part. I've tried it via the anaconda command line and it seems to just timeout indefinitely. Feel like I’m missing something completely obvious…
Philip
  • 157
  • 1
  • 10
1
vote
1 answer

betfair php api - error DSC-0021

I have always DSC-0021 error on every method, except on getAccountFunds. i have this request function function send_request($api_method, $action, $params){ if(!isset($_SESSION['session']) or empty($_SESSION['session'])){ …
Pedro
  • 23
  • 1
  • 6
1
vote
1 answer

Betfair API, BETTING_RESTRICTED_LOCATION when logging in from Google App Engine

I am trying to use Python / Google App Engine to log into the Betfair API. When I try to log in using the API on GAE, I get a BETTING_RESTRICTED_LOCATION error. When I run the script locally (from the UK) it works fine. So it appears that Betfair is…
Ginger
  • 8,320
  • 12
  • 56
  • 99