Results 1 to 4 of 4

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Made his way Kimi's Avatar
    Join Date
    Jun 2011
    Replies
    2

    trackbase ET Servers API

    The example http://api.trackbase.net/servers/et....imit=1&start=1
    given here: http://api.trackbase.net/servers/
    just returns "{"code":200,"message":"","error":"Please supply more information.","errorcode":1,"results":[],"count":0}"
    Am i missing something?

  2. #2
    Manager JoNny's Avatar
    Join Date
    Mar 2011
    Replies
    1,424
    Country
    Germany
    Xfire
    dssjonny
    Steam
    dssjonny
    Discord
    JoNny#4432
    Clan
    -TB#
    I admit, it's not that easy to understand. But let me explain:

    To make ANY api request you'd need to be registered as a developer. Therefore head over to http://developers.trackbase.net/ and register (http://developers.trackbase.net/account/signup). After you activated your account, you'd need to create an app. When that's done you can access all of our APIs. The error 1 "Please supply more information" usually is the result because you also need to add following parameters to your request, which you - by the way - need to do for ANY request you want to make (in order to identify yourself to TrackBase and the API):

    - application identification number (supply as 'app' and add the value of your app to it)
    - relation token (supply as 'token' and add the value of your app to it)
    - application authentication key (supply as '_aak' and add the value of your app to it)

    Source: http://developers.trackbase.net/how-to-use

    Hopefully I could help you further.

    /JoNny

  3. #3
    Made his way Kimi's Avatar
    Join Date
    Jun 2011
    Replies
    2
    thx for reply
    but I actually did that too, same result:
    http://api.trackbase.net/servers/et....TOKEN&_akk=AKK

  4. #4
    Manager JoNny's Avatar
    Join Date
    Mar 2011
    Replies
    1,424
    Country
    Germany
    Xfire
    dssjonny
    Steam
    dssjonny
    Discord
    JoNny#4432
    Clan
    -TB#
    The most likely reason why you are still running into this error is because you may be trying to access our API through your personal computer or basically any other source than you gave in your server url (stored with the app).
    We only allow API calls from the server that can be reached with that URL.

    So my suggestion is to upload the script (or if not present yet, create one and use something like curl to get the source code (json return)) to the server you supplied and access that script so it will be run.

    Tell me if this fixes your issue, or feel free to pm me and give me your skype id, so we can clear this out in a real time chat with the option to share your screen.

    Regards,
    /JoNny

Posting Permissions