Accounting API Questions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AlgoTrader
    Junior Member
    • Mar 2012
    • 243

    #1

    Accounting API Questions

    I have questions about the new Accounting API.

    1) createDeveloperAppKeys is allowed to call only once. Does it mean the single user is allowed to have a single application only or he can have multiple applications sharing the same appName? I want many apps and I want way to create and delete apps.

    2) Can you please describe the concept of active and delayed keys? I cannot grip what the delayed application key is. Why delayed keys is needed? To show data before user logged in?

    3) Can you please describe what appName is and how about renaming apps in future? Changing app name is not a something very unusual.

    4) What headers should be provided to createDeveloperAppKeys and getDeveloperAppKeys? We should be logged in already and have X-Authentication set? How about X-Application, we can omit it for Accounting API? Why not to clarify this.

    The Accounting API is now the most strange part of API NG. First, we can create keys only once, so it is irreversible operation, we cannot delete keys and issue the other should need arise. What is the purpose of getDeveloperAppKeys, is it needed only to "remember" keys? I also do not like the idea of "One Account, One Application". I would like to have many applications without applying for new Betfair accounts.
    Betfair Bots Made Easy
  • betdynamics
    Junior Member
    • Sep 2010
    • 534

    #2
    I'm glad it's not only me that is struggling to understand the new accounting functions!

    If someone was able to post an explanation of how this is all supposed to work (ideally with some sample code), that would help enormously.

    Alistair

    Comment

    • BetfairDeveloperProgram
      Administrator
      • Oct 2008
      • 679

      #3
      Accounting API Questions

      Hi Algotrader,

      Thanks for your feedback. Please see comments below:

      1) createDeveloperAppKeys is allowed to call only once. Does it mean the single user is allowed to have a single application only or he can have multiple applications sharing the same appName? I want many apps and I want way to create and delete apps.
      During the beta period, each Betfair account will be able to generate one pair of application keys. The keys can be used by one or many applications. The production version will allow each Betfair account to create up to five pairs of application keys. Application keys can't be deleted.

      2) Can you please describe the concept of active and delayed keys? I cannot grip what the delayed application key is. Why delayed keys is needed? To show data before user logged in?
      This is to allow developers to create applications that show delayed data before the user has logged in. The delay App Key also has no transactional access.
      3) Can you please describe what appName is and how about renaming apps in future? Changing app name is not a something very unusual.
      The appName is to enable you to identify your application/s. You cannot change the application name at the moment, but if this is a requirement we'll put this on our development backlog.

      4) What headers should be provided to createDeveloperAppKeys and getDeveloperAppKeys? We should be logged in already and have X-Authentication set? How about X-Application, we can omit it for Accounting API? Why not to clarify this.
      We'll clarify this in the documentation.

      You need to be logged in already and set the X-Authentication header for both createDeveloperAppKeys and getDeveloperAppKeys. You can omit X-Application.

      The getDeveloperAppKeys service is simply to allow you to retrieve your existing App Key/s (i.e. a reminder)
      Last edited by BetfairDeveloperProgram; 04-06-2013, 03:05 PM. Reason: Updated answer

      Comment

      • BetfairDeveloperProgram
        Administrator
        • Oct 2008
        • 679

        #4
        Originally posted by betdynamics View Post
        I'm glad it's not only me that is struggling to understand the new accounting functions!

        If someone was able to post an explanation of how this is all supposed to work (ideally with some sample code), that would help enormously.

        Alistair
        Hi Alistair,

        A visualiser for the Accounts API is available via https://api-ng.betstores.com/account/

        Thanks

        Neil

        Comment

        • AlgoTrader
          Junior Member
          • Mar 2012
          • 243

          #5
          Thanks for the answers. I am fully satisfied with the answers. Good work for explaining us the lacks of documentation.
          Betfair Bots Made Easy

          Comment

          Working...
          X