connection with visual basic

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rene
    Junior Member
    • Aug 2021
    • 1

    #1

    connection with visual basic

    How do I connect to the api using visual basic I need help ty
  • jabe
    Senior Member
    • Dec 2014
    • 705

    #2
    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.

    Comment

    • Bascoe
      Member
      • Sep 2018
      • 42

      #3
      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

      • bfexplorer
        Senior Member
        • Sep 2018
        • 212

        #4
        Originally posted by Rene View Post
        How do I connect to the api using visual basic I need help ty
        https://github.com/StefanBelo/Bfexpl...iVB/Program.vb

        Here is login to your account and starting monitoring odds data for all horse racing WIN markets in GB for today.

        Comment

        Working...
        X