• Hi-Rez Studios
  •  Language
    • English - United StatesEnglish
  • Games
    • SMITE
      • Home
      • Refer A Friend
      • My referrals
      • Gods
      • Items
      • Player Stats
      • Teams
      • Leaderboard
    • Tribes
      • Home
      • Refer A Friend
      • My Referrals
    • Global Agenda
  • Support
  • Store
FAQ • Login • Register

Board index » Tribes: Ascend - Official Forums » Tribes: Ascend - General Public Forums » Tribes - API

All times are UTC - 5 hours [ DST ]


Forum rules


Please click here to view the forum rules

Getting started with the API



Post new topic Reply to topic  Page 1 of 1
 [ 8 posts ] 
Print view | E-mail friend Previous topic | Next topic 
 Getting started with the API 
Author Message
HiRezRemy

Hi-Rez Team Member
Hi-Rez Team Member

Joined: Tue Nov 24, 2009 3:30 pm
Posts: 866
Post Getting started with the API
The Tribes API allows developers to obtain a variety of data from Tribes in order to use in their own applications and websites.

At present, the Tribes API is in an ALPHA status. Early users of the API can expect there to be some bugs and issues. The API can also be expected to change and expand with some frequency.

Documentation for the API can be found here.


Thu Feb 28, 2013 4:09 pm
Profile
VoltaicShock


Joined: Tue Aug 16, 2011 9:29 am
Posts: 419
Post Re: Getting started with the API
I am noticing some discrepancies with the API documentation.

In the beginning of the document you see the mthod getplayer listed like this:

getplayer[ResponseFormat]/{devId}/{signature}/{timestamp}/{playername}

Later in the document it says to call getplayer like this:

getplayer[ResponseFormat]/{devId}/{signature}/{sessionId}/{timestamp}/{playerName}

Notice this one has added {sessionId}
_________________
I was Swirl in Tribes 2 and played on "The Pond"

RTPN (Read the patch notes)

Bring back siege!

Lmaoboat wrote:
I once got a sticky thrown me while I was repairing, and I flew into the guy who threw it on me and killed him.


Wed May 22, 2013 10:49 am
Profile
HiRezRemy

Hi-Rez Team Member
Hi-Rez Team Member

Joined: Tue Nov 24, 2009 3:30 pm
Posts: 866
Post Re: Getting started with the API
VoltaicShock wrote:
I am noticing some discrepancies with the API documentation.

In the beginning of the document you see the mthod getplayer listed like this:

getplayer[ResponseFormat]/{devId}/{signature}/{timestamp}/{playername}

Later in the document it says to call getplayer like this:

getplayer[ResponseFormat]/{devId}/{signature}/{sessionId}/{timestamp}/{playerName}

Notice this one has added {sessionId}


Not sure how that slipped by...I fixed it though. All of the methods should include the sessionId parameter now.


Wed May 22, 2013 1:52 pm
Profile
VoltaicShock


Joined: Tue Aug 16, 2011 9:29 am
Posts: 419
Post Re: Getting started with the API
HiRezRemy wrote:
Not sure how that slipped by...I fixed it though. All of the methods should include the sessionId parameter now.


I just noticed you added {sessionid} to createsession. Create Session will return us the session id

createsession[ResponseFormat]/{devId}/{signature}/{sessionId}/{timestamp}
_________________
I was Swirl in Tribes 2 and played on "The Pond"

RTPN (Read the patch notes)

Bring back siege!

Lmaoboat wrote:
I once got a sticky thrown me while I was repairing, and I flew into the guy who threw it on me and killed him.


Thu May 23, 2013 9:11 am
Profile
HiRezRemy

Hi-Rez Team Member
Hi-Rez Team Member

Joined: Tue Nov 24, 2009 3:30 pm
Posts: 866
Post Re: Getting started with the API
VoltaicShock wrote:
HiRezRemy wrote:
Not sure how that slipped by...I fixed it though. All of the methods should include the sessionId parameter now.


I just noticed you added {sessionid} to createsession. Create Session will return us the session id

createsession[ResponseFormat]/{devId}/{signature}/{sessionId}/{timestamp}


And this is why we take our time with things :P. Thanks, I fixed that.


Thu May 23, 2013 10:25 am
Profile
VoltaicShock


Joined: Tue Aug 16, 2011 9:29 am
Posts: 419
Post Re: Getting started with the API
I just noticed Ping does not require anything but ping[responseFormat].

I just tried that and I get:

End Point not found

And for some I am getting:

The server encountered an error processing the request. See server logs for more details.
_________________
I was Swirl in Tribes 2 and played on "The Pond"

RTPN (Read the patch notes)

Bring back siege!

Lmaoboat wrote:
I once got a sticky thrown me while I was repairing, and I flew into the guy who threw it on me and killed him.


Thu May 23, 2013 1:40 pm
Profile
HiRezRemy

Hi-Rez Team Member
Hi-Rez Team Member

Joined: Tue Nov 24, 2009 3:30 pm
Posts: 866
Post Re: Getting started with the API
VoltaicShock wrote:
I just noticed Ping does not require anything but ping[responseFormat].

I just tried that and I get:

End Point not found

And for some I am getting:

The server encountered an error processing the request. See server logs for more details.


Here's what the url should look like for a simple ping

http://api.tribesascend.com/tribesapi.svc/pingxml
or
http://api.tribesascend.com/tribesapi.svc/pingjson


Thu May 23, 2013 1:57 pm
Profile
VoltaicShock


Joined: Tue Aug 16, 2011 9:29 am
Posts: 419
Post Re: Getting started with the API
So I think I figured out the issue. I had the "/" at the end. The service doesn't seem to like that.
_________________
I was Swirl in Tribes 2 and played on "The Pond"

RTPN (Read the patch notes)

Bring back siege!

Lmaoboat wrote:
I once got a sticky thrown me while I was repairing, and I flew into the guy who threw it on me and killed him.


Thu May 23, 2013 2:08 pm
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  Page 1 of 1
 [ 8 posts ] 

Board index » Tribes: Ascend - Official Forums » Tribes: Ascend - General Public Forums » Tribes - API

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © phpBB Group.
Phpbb Style Designed and Copyrighted by Vjacheslav Trushkin for Free Forums/DivisionCore.
Terms of Service and Privacy Policy

All content © Hi-Rez Studios.