Starting Question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bro840
    Junior Member
    • Sep 2013
    • 2

    #1

    Starting Question

    Hi

    I love footbal, i love betting and i know i little of Vb.Net. So i decide to try to make a bot to see what kind of result would i get.

    With the help of this thread "Using VB2008 to acccess the Betfair API: A tutorial". I was able to easily get started, make login, make some request atc...

    But as it seems the current version is about to be discontinued, i know it will take time but eventually it will be discontinued. So i think since i'm just starting out that i should start from the API NG.

    Here is where i started to get confused. I don't understand how to use the new API at all.

    In old version we needed to add the reference: https://api.betfair.com/global/v3/BFGlobalService.wsdl, to the .net framework and then use the services provided by this reference in our programmes to make login, requestes and so on.

    In this new API i don't know what to do in order to do the same.

    Please can anybody explain to me how the new API works and how i can at least make login?

    Thank you
  • Lopiner
    Junior Member
    • Feb 2009
    • 117

    #2
    Hi bro840

    I'm also a beginner developer and i have build a VB.Net app on the basis of that topic (it's the most popular topic so i believe a lot of people have done the same). Shortly after i discovered that the API was moving to JSON. A read a lot of good things here about that move to JSON so i thought this was a great thing. Regardless of the new format (JSON) the new functionality seem great: Requesting several markets at the same time, requesting private and public info in one shot (like the markets prices and your bets), etc.

    Then my nightmare began. So apparently there is no descriptive file like the WSDL so you have to build all the requests by scratch (just a thought, if someone develops a library with all the requests i would gladly pay for it). Then you have to create objects to hold the responses and error handle all the wrong format responses.
    Then there is the JSON language that uses the " symbol. In VB.net that symbol is the one that defines a string and in VB.net there is no global escape character like the @ in c# (you have to double quote all the " symbols).

    I'm a beginner so maybe im looking at this from the wrong angle.

    PS: It would be great if the BDP team could release some examples in VB.net. It would be even better (this must be impossible) if the BDP team released .net libraries (optimize so we newbies don't over stress the API).
    If things get simpler this will attract more liquidity, software developers (solutions to BetFair users) and ultimately business.
    Last edited by Lopiner; 09-09-2013, 06:17 PM.
    fooledbyabet.com

    Comment

    • Let it Ride
      Junior Member
      • Jan 2012
      • 6

      #3
      It's crazy they can't give VB sample code when they offer every other language

      Comment

      • kawafan
        Junior Member
        • May 2011
        • 33

        #4
        Not Only VB

        Hi
        its just not only VB.
        I am wondering about the Quality of Sample Codes of C# too.
        In previous Api , we have very Good C# async GUI examples . Not everyone here is professional programmer ,in any Project , everything start from sample code and there is literally nothing there.
        for example Betfair started the new API navigation and didn't tell how we can Visualize it in better hierarchy method.The old TreView is ditching but doesnt know how new work. Please Some one from betfair if read this, make better sample codes specially of C# or VB.net , because most people use .Net for GUI related projects .

        Thanks

        Comment

        • bro840
          Junior Member
          • Sep 2013
          • 2

          #5
          Bull shit moderators attitude

          The support of this forum is at least very weak to not use dirty words.
          Don't even one answer from the moderators or the betfair team.
          How can this be called Developer Program Forum?

          Comment

          Working...
          X