Using Betfair API with Google App Engine

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Imparior
    Junior Member
    • Dec 2009
    • 2

    #1

    Using Betfair API with Google App Engine

    Hello!

    I'm trying to write a simple betfair application using Google App Engine, but my logon attempt ends up with LOGIN_RESTRICTED_LOCATION error.

    Does it mean that google app engine is prohibited to use? Or maybe there is a way to bypass it tampering with ipAddress (and/or locationId) ?

    Any suggestions?
  • saint-pilgrim
    Junior Member
    • Sep 2009
    • 2

    #2
    The Google Application Engine is connecting to the Betfair API server with a US IP Address and logging in from the US (unless I am wrong) is not allowed.

    This problem (and others associated with the inability to know the IP range in advance) forces people to adopt the following approach:

    -- Implement the service in the App Engine
    -- Proxy requests (obviously over https) to the final destination through another provider (example: Amazon EC2)

    Best regards

    Comment

    • shuba
      Member
      • Feb 2009
      • 51

      #3
      Originally posted by saint-pilgrim View Post

      -- Implement the service in the App Engine
      What did you mean?
      - Betfair ladder interface for Android platform.

      Comment

      • primski
        Junior Member
        • Oct 2012
        • 3

        #4
        hm, this hasn't been changed to this date has it? connecting from google appengine apps is not allowed?

        using proxy is just too slow i'd guess.

        edit: i just tried logging in to betfair and called getAllMarkets from my google appengine app... it worked, so i guess this restriction doenst apply any more? or perhaps it is based on user info instead of ip? i am not an american and have verified my identity, so they know i'm not from USA , could this be it ?
        Last edited by primski; 22-10-2012, 11:19 AM.

        Comment

        • The Edge
          Junior Member
          • Aug 2010
          • 25

          #5
          I am still seeing this error.

          I can use Google App Engine if I store the session key.

          But if I try to use Google App Engine to log in, it fails. Is there a way to get a permanent session key?

          Comment

          Working...
          X