The Next Sports Exchange API is Coming

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Fred77
    Junior Member
    • Jan 2009
    • 37

    #61
    Thanks vossie, since viewing your link I've now met my management-speak consumption quota for 2012.

    I'm none the wiser anway. I'm assuming it's mostly about affiliation.

    Comment

    • vossie
      BDP Team
      • Sep 2008
      • 40

      #62
      Originally posted by Fred77 View Post
      Thanks vossie, since viewing your link I've now met my management-speak consumption quota for 2012.

      I'm none the wiser anyway. I'm assuming it's mostly about affiliation.
      Nice one Fredd77, that made me chuckle. So for the benefit of everyone here goes in plain English.

      "The App Cloud will make it possible for developer to build gaming web sites hosted by Betfair. These sites can be for personal or public use by everyone"

      In conjunction with the JSON based next version of the API development should be simplified.
      "Why don't you just fix your little problem and light this candle?" - Alan B. Shepard, Jr

      Comment

      • Fred77
        Junior Member
        • Jan 2009
        • 37

        #63
        Sorry vossie, I still don't have a clue what it is that your App Cloud is offering and whether it is of interest to me. I think you will have to provide (several) examples before I'll grasp it...

        Forget that - I'll stick with my own selfish interests for now - my main interest at betfair has always been writing and running my own autonomous bots, so from that point of view does your App Cloud offer anything to me?

        Comment

        • vossie
          BDP Team
          • Sep 2008
          • 40

          #64
          Fred77, Not sure what else to say other than it's like Google App Engine for Java servlet. I really can't tell if it holds any value for you but for merecat_ and the like who might want to run Javascript or server side code I suspect it holds a lot of value in the near term. For bot writers we aim to add some really powerful features like conditional notification services and so on.
          "Why don't you just fix your little problem and light this candle?" - Alan B. Shepard, Jr

          Comment

          • Fred77
            Junior Member
            • Jan 2009
            • 37

            #65
            Ok thanks for your effort vossie, I have just googled "Google App Engine for Java servlet" and rapidly lost the will to read on!

            I think API-NG will be enough for me to play with in the short term. Conditional notification sounds interesting.

            Comment

            • xaitek1
              Junior Member
              • Feb 2012
              • 8

              #66
              Hi Vossie,
              A couple of really interesting points there...

              The App Cloud sounds a little like co-location (i.e. I can run my app in your cloud) meaning it would potentially be very close to your servers.
              Is it this? if so, what can I run in the cloud, my code or just betfair libraries?

              Also, you said...
              >> really powerful features like conditional notification services and so on

              Any chance of this being price changes so that we don't have to overload your servers by continually polling them?

              Comment

              • MarkL
                Junior Member
                • Oct 2008
                • 29

                #67
                Originally posted by xaitek1 View Post
                Any chance of this being price changes so that we don't have to overload your servers by continually polling them?
                Push price changes is on the road map for the API itself, which will be available to API clients both within the App Cloud or running on your desktop.

                Comment

                • xaitek1
                  Junior Member
                  • Feb 2012
                  • 8

                  #68
                  Thanks Mark, this is great news - I will be very interested to see how this affects the pricing model.

                  Are you able to answer on the other point regarding what I can run in the App Cloud?

                  Comment

                  • meglio
                    Junior Member
                    • Dec 2012
                    • 2

                    #69
                    Is there or will be place-all-or-nothing feature?

                    Especially when we dutch and post all bets in one API call, will there be an option to allow to match either all bets or none of them, but never some of them separately?

                    This could be very useful.

                    Comment

                    • meglio
                      Junior Member
                      • Dec 2012
                      • 2

                      #70
                      Originally posted by vossie View Post
                      Hi Fred, The App Cloud will make it possible to get you code hosted by Betfair and we will put services on domain for you. The program is currently in Beta testing on an invite only basis. API-NG and App Cloud is designed to work with each other
                      https://www.cloud.betfair.com
                      vossie, simplified API together with App Cloud - all this will allow more developers to make their bots. So we get more bots, but the API price is too high for most of small bot owners - and is important especially to test / try trading theories. Is there any chance that prices will be decreased for new API?

                      Comment

                      • AlgoTrader
                        Junior Member
                        • Mar 2012
                        • 243

                        #71
                        I agree Paid API is expensive. The Free API somehow helps to survive, sometimes by overcomplicating things up (For example calling getMarketPricesCompressed and getCompleteMarketPricesCompressed to increase refresh rate to 120 refreshes/minute).

                        I would suggest to introduce more API levels then just two. For example Free, Intermediate and Pro. The step between FreeAPI and PaidAPI is huge
                        Betfair Bots Made Easy

                        Comment

                        • pulsoft1
                          Junior Member
                          • Dec 2010
                          • 8

                          #72
                          Originally posted by vossie View Post
                          Fred77, Not sure what else to say other than it's like Google App Engine for Java servlet. I really can't tell if it holds any value for you but for merecat_ and the like who might want to run Javascript or server side code I suspect it holds a lot of value in the near term. For bot writers we aim to add some really powerful features like conditional notification services and so on.
                          Reading the exchanges (no pun intended) between you two reminds me of a very patient Leonard trying to find simplistic terms to explain something like E=mc2 to Penny in BBT. LOL...
                          Last edited by pulsoft1; 06-12-2012, 10:19 AM.

                          Comment

                          • Contrarian
                            Junior Member
                            • May 2009
                            • 4

                            #73
                            I'm just about to start trying out the new API.

                            Could someone help me translate this Python code example into C#?


                            import requests
                            import json

                            url="https://beta-api.betfair.com/json-rpc"
                            header = { 'X-Application' : 'APP_KEY_HERE', 'X-Authentication' : 'SESSION_TOKEN' ,'content-type' : 'application/json' }

                            jsonrpc_req='{"jsonrpc": "2.0", "method": "SportsAPING/v1.0/listEventTypes", "params": {"filter":{ }}, "id": 1}'


                            response = requests.post(url, data=jsonrpc_req, headers=header)

                            print json.dumps(json.loads(response.text), indent=3)


                            I presume I have to use something like the HttpWebRequest class. How do I send the JSON request?

                            Thanks.

                            Comment

                            • AlgoTrader
                              Junior Member
                              • Mar 2012
                              • 243

                              #74
                              I have no 'APP_KEY_HERE so I got

                              Code:
                              {
                                  "jsonrpc": "2.0",
                                  "error": {
                                      "code": -32099,
                                      "message": "ANGX-0007",
                                      "data": {
                                          "exceptionname": "APINGException",
                                          "APINGException": {
                                              "errorDetails": "The application key passed is invalid",
                                              "errorCode": "INVALID_APP_KEY",
                                              "requestUUID": "prdang004-12121028-0000001c5a"
                                          }
                                      }
                                  }
                              }
                              Betfair Bots Made Easy

                              Comment

                              • Contrarian
                                Junior Member
                                • May 2009
                                • 4

                                #75
                                Thanks AlgoTrader,

                                But how do I send the JSON request?

                                Comment

                                Working...
                                X