How do I connect to the api using visual basic I need help ty
connection with visual basic
Collapse
X
-
You'll need to be able to log in, once you've set up a key. I believe a test key is free, but a live key will require a payment. There are two types of log in; one is hands-free ("non-interactive") and the other ("interactive") requires you to enter a user id and password. Details of these can be found throughout the forum, but don't go too early as the API was rewritten at some point, You might be able to find code for logging in somewhere online. Once you've got that far, my advice would be to create classes for all data that you can request. Details can be found elsewhere on the site and there is a PDF full of info. You should work out how the various bits of data hang together. You should make yourself familiar with JSON encoded data, since such data can be decodeed directly into the classes you have created.
Also check posts containing advice about how to gather relevant data.
-
Here is my recent post on non-interactive login via vb.net https://forum.developer.betfair.com/...eractive-login
As Jabe notes, you need to create classes - you can paste special json responses into Visual Studio and it will generate rough classes for you, but they are rough, arrays often need to be converted to Lists and so on. Read the doco and understand how Betfair structures the data; know what data is found in the various responses. There is a pretty steep learning curve...Last edited by Bascoe; 04-03-2024, 04:04 AM.
Comment
-
https://github.com/StefanBelo/Bfexpl...iVB/Program.vbOriginally posted by Rene View PostHow do I connect to the api using visual basic I need help ty
Here is login to your account and starting monitoring odds data for all horse racing WIN markets in GB for today.
Comment


Comment