Freelancer Union Forum

CCP Announcements => Dev Blog => Topic started by: [FUN] Filz on May 17, 2010, 06:13:34 pm

Title: Tyrannis API Improvements
Post by: [FUN] Filz on May 17, 2010, 06:13:34 pm
Tyrannis API Improvements (http://www.eveonline.com/devblog.asp?a=blog&bid=757)
17 May 2010, 3:12 pm

Greetings!

As you might know by now, in Tyrannis we are delivering a vastly improved contacts system and the new calendar. For these features, we will be providing a new set of APIs for you to consume in your own applications. Not only will we expose this new data to you, we have made some changes to existing APIs, and two Outpost related APIs have been added to help ease outpost management.

While EVE Gate is a large step towards bringing EVE to you outside of the client by allowing you to consume contact and calendar information in your own applications, be it desktop, mobile or even more interesting platforms, we hope that you, the community, will adapt this to the needs of the players and shape the proverbial sandbox to your own needs.

Calendar

The Calendar API consists of two requests, both of which require a full API key:
By fetching UpcomingCalendarEvents.xml.aspx, a list of all upcoming events is returned (regardless of your response to them, Accepted and Denied alike), as well as your response to the event. If you wish to dig deeper into the attendee list of a specific event, you are able to pass the eventID onto the CalendarEventAttendees.xml.aspx, which will return will the attendee list. Please note: only eventIDs returned by your UpcomingCalendarEvents.xml.aspx call are valid arguments.

In the case of attempting to fetch the attendees of non-personal events, you need to have the "Communications Officer" corporation role.

Contacts

The Contacts API will require only a limited key, and consists of one character-specific request and one request which work for both characters and corporations:
I want to tie a few notes to the above APIsStarbases

A new feature of Tyrannis is that you can decide which contact list (corporation or alliance) a POS should adhere to. This means we have to change the schema of the StarbaseDetail.xml.aspx page to reflect this  new attribute of Starbases. The combatSettings tag will now contain an element called "useStandingsFrom", with the ownerID attribute which is either the ID of alliance or corporation, from which standings are derived. Here's what it looks like now:

(http://cdn1.eveonline.com/community/devblog/2010/ApiDevBlog.jpg)

 

Outposts

This new Outpost API will allow you to pull information about the corporation's outposts, which will require a full API key from the a director(or CEO) of the corporation which the outpost belongs to.Two things are important to note here:Conclusion

We hope that you will use these new APIs in creative ways. As always, questions and comments are appreciated.

 

 

Source: eve-online.com | devBlog (http://www.eveonline.com/)