Moderator: 2020vision
by gvigliani » Sun Sep 06, 2009 6:53 pm
by osknows » Sun Sep 06, 2009 9:00 pm
by gvigliani » Sun Sep 06, 2009 9:31 pm
osknows wrote:You can get this direct from Betfair's API
https://bdp.betfair.com/index.php?optio ... &Itemid=44
by gvigliani » Sun Sep 06, 2009 9:32 pm
osknows wrote:You can get this direct from Betfair's API
https://bdp.betfair.com/index.php?optio ... &Itemid=44
by dgs2001 » Sun Sep 06, 2009 11:18 pm
by gvigliani » Mon Sep 07, 2009 3:16 pm
dgs2001 wrote:Have a look at this thread on the punters lounge -
http://www.punterslounge.com/forum/f23/ ... api-67252/
Hope it helps
Duncan
by KevinTHFC » Mon Sep 07, 2009 6:14 pm
gvigliani wrote:dgs2001 wrote:Have a look at this thread on the punters lounge -
http://www.punterslounge.com/forum/f23/ ... api-67252/
Hope it helps
Duncan
There is nothing for VB6!!
by KevinTHFC » Mon Sep 07, 2009 6:16 pm
Private Function Keep_session_alive(original_key As String) As String
Dim xml_to_send As String, sReply As String
'create the SOAP Envelope original_key is the latest STRsessionToken
xml_to_send = sEnvelope _
& "<m:keepAlive xmlns:m=" & QUOTE_MARK & "http://www.betfair.com/publicapi/BFService/" & QUOTE_MARK & ">" _
& "<m:request>" _
& "<header>" _
& "<clientStamp>" & GetClientStamp & "</clientStamp>" _
& "<sessionToken>" & original_key & "</sessionToken>" _
& "</header>" _
& "</m:request>" _
& "</m:keepAlive>" _
& "</SOAP-ENV:Body>" _
& "</SOAP-ENV:Envelope>"
' post the request & check the return in sReply variable for errors etc
sReply = MakeSOAPRequest(xml_to_send, "KeepAlive")
Debug.Print sReply
'===============
If InStr(sReply, QUOTE_MARK & "n2:APIErrorEnum" & QUOTE_MARK & ">OK<") > 0 Then ' this indicates was sent OK
MsgBox "REQUESTING KEEPALIVE WAS OK :-) ", vbInformation
' parse the new session key here and store it in STRsessionToken
STRsessionToken = get_sessionToken(sReply)
'===============
Else
MsgBox "ERROR REQUESTING KEEPALIVE !", vbCritical
End If
'===============
End Function
The strength of Gruss Software is that it’s been designed by one of you, a frustrated sports punter, and then developed by listening to dozens of like-minded enthusiasts.
Gruss is owned and run by brothers Gary and Mark Russell. Gary discovered Betfair in 2004 and soon realised that using bespoke software to place bets was much more efficient than merely placing them through the website.
Gary built his own software and then enhanced its features after trialling it through other Betfair users and reacting to their improvement ideas, something that still happens today.
He started making a small monthly charge so he could work on it full-time and then recruited Mark to help develop the products and Gruss Software was born.
We think it’s the best of its kind and so do a lot of our customers. But you can never stand still in this game and we’ll continue to improve the software if any more great ideas emerge.