johna007 Posted May 31, 2006 Share Posted May 31, 2006 Hi All Can you make a Betfair API call using AutoIt ? If so how. Johna007 Link to comment Share on other sites More sharing options...
Paulie Posted June 1, 2006 Share Posted June 1, 2006 Hi AllCan you make a Betfair API call using AutoIt ?If so how.Johna007For those ignorant folks like me, mind explaining what a "Betfair API call" is? Link to comment Share on other sites More sharing options...
HardCopy Posted June 1, 2006 Share Posted June 1, 2006 For those ignorant folks like me, mind explaining what a "Betfair API call" is?Its a poker/sportbetting site Contributions: UDF _DateYearFirstChildren are like Farts, you can just about stand your own.Why am I not a Vegetarian?...Well...my ancestors didn't fight & evolve to the Top of the food chain for me to survive on Salad Link to comment Share on other sites More sharing options...
johna007 Posted June 2, 2006 Author Share Posted June 2, 2006 I think it uses SOAP how would you call it ? johna007 Link to comment Share on other sites More sharing options...
laffo16 Posted June 28, 2007 Share Posted June 28, 2007 has anyone an intrest in learning how to call data from betfair api? i haven't a clue were to start. Link to comment Share on other sites More sharing options...
tAKTelapis Posted June 28, 2007 Share Posted June 28, 2007 Betfair is a UK Based company that runs an online gambling and betting site. they take bets on damn near anything from what i recall, one of my mates worked for there tech department when the setup in my area.. damn they have a nice server room. Link to comment Share on other sites More sharing options...
laffo16 Posted June 28, 2007 Share Posted June 28, 2007 expandcollapse popupExample API Request and Response The following example shows an example XML request and response for the login service. The request is: <SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAPENV=" http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http:// www.w3.org/1999/XMLSchema" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"> <SOAP-ENV:Body> <login xmlns="http://www.betfair.com/publicapi/BFService/"> <request> <username>AUserName</username> <password>APassWord</password> <productId>22</productId> <vendorSoftwareId>0</vendorSoftwareId> <locationId>0</locationId> </request> </login> </SOAP-ENV:Body> </SOAP-ENV:Envelope> The response received is: <soap:Envelope xmlns:n2="http://www.betfair.com/publicapi/types/" xmlns:soap="http:// schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soap:Body> <n:loginResponse xmlns:n="http://www.betfair.com/publicapi/BFService/"> <n:Result xsi:type="n2:LoginResp"> <header xsi:type="n2:APIResponseHeader"> <errorCode xsi:type="n2:APIErrorEnum">OK</errorCode> <minorErrorCode xsi:nil="1"></minorErrorCode> <sessionToken xsi:type="xsd:string">r6n+yBbOnm3ret5rkj4ti4Zg<sessionToken> <timestamp xsi:type="xsd:dateTime">2006-01-06T13:27:58.330Z</timestamp> </header> <currency xsi:type="xsd:string">GBP</currency> <errorCode xsi:type="n2:LoginErrorEnum">OK</errorCode> <minorErrorCode xsi:nil="1"></minorErrorCode> <validUntil xsi:type="xsd:dateTime">2006-02-05T00:00:00.000Z</validUntil> </n:Result> </n:loginResponse> </soap:Body> </soap:Envelope> In this example, the sessionToken contains the value r6n+yBbOnm3ret5rkj4ti4Zg. would it be possible to make this XML request from autoit? Link to comment Share on other sites More sharing options...
PsaltyDS Posted June 28, 2007 Share Posted June 28, 2007 Hi AllCan you make a Betfair API call using AutoIt ?If so how.Johna007Why not just get it over with? Empty your bank account, send all your money to money to me, and move into a dirty cardboard box tonight!Why drag it out? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now