Visual Basic 6

Discuss anything related to using the program (eg. triggered betting tactics)

Moderator: 2020vision

Visual Basic 6

Postby gvigliani » Sun Sep 06, 2009 6:53 pm

Dear Gary,

I use the Microsoft Visual Basic 6. I wanted to know if it is possible to extract data from BA without using the Excel spreadsheet. I think it's enough to use .Com but something is not working and I can not receive data. The data that interest me are the B_Odd1, B_Odd2, B_Odd3, Lay_odd1, Lay_Odd2, Lay_odd3 and references on Matched on various altitudes. If you can do it I would do an example so you can understand?
Thanks
User avatar
gvigliani
 
Posts: 166
Joined: Thu Aug 13, 2009 3:11 pm
Location: Italia

Postby osknows » Sun Sep 06, 2009 9:00 pm

You can get this direct from Betfair's API
https://bdp.betfair.com/index.php?optio ... &Itemid=44
User avatar
osknows
 
Posts: 946
Joined: Wed Jul 29, 2009 12:01 am

Postby 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



I do not know how to do!
Thanks
User avatar
gvigliani
 
Posts: 166
Joined: Thu Aug 13, 2009 3:11 pm
Location: Italia

Postby 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


Examples please !!! :oops:
User avatar
gvigliani
 
Posts: 166
Joined: Thu Aug 13, 2009 3:11 pm
Location: Italia

Postby dgs2001 » Sun Sep 06, 2009 11:18 pm

Have a look at this thread on the punters lounge -

http://www.punterslounge.com/forum/f23/ ... api-67252/

Hope it helps
Duncan
User avatar
dgs2001
 
Posts: 334
Joined: Thu Apr 05, 2007 4:53 pm
Location: The Home Of National Hunt

Postby 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


There is nothing for VB6!!
User avatar
gvigliani
 
Posts: 166
Joined: Thu Aug 13, 2009 3:11 pm
Location: Italia

Postby 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!!


Looks like VB to me?
KevinTHFC
 
Posts: 72
Joined: Fri Aug 25, 2006 9:08 pm

Postby KevinTHFC » Mon Sep 07, 2009 6:16 pm

Code: Select all
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
KevinTHFC
 
Posts: 72
Joined: Fri Aug 25, 2006 9:08 pm

Postby one click king » Wed Sep 09, 2009 10:46 am

At least he asks so nicely !!!!
one click king
 
Posts: 51
Joined: Mon Feb 23, 2009 9:00 pm


Return to Discussion

Who is online

Users browsing this forum: Google [Bot] and 39 guests

Sports betting software from Gruss Software


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.