Latest Neocron News and Information

  • New test server patch #550 has been released to Vedeena
  • New retail server patch #551 has been released to Titan

Difference between revisions of "User:Brammers/RaresDBapi"

From Neocron Wiki
Jump to: navigation, search
Line 1: Line 1:
 
== Rares DB API ==
 
== Rares DB API ==
  
Design in process....
+
See http://forum.neocron.com/showthread.php?t=144684 This is a design document to provide API access to the Rares DB via a SOAP interface.
  
 
== Methods ==
 
== Methods ==

Revision as of 10:18, 7 April 2011

Rares DB API

See http://forum.neocron.com/showthread.php?t=144684 This is a design document to provide API access to the Rares DB via a SOAP interface.

Methods

Login(username,user_api_key,client_api_key)

Returns a access token, which will be used for calls that need write access.

Logout(token_key)

Logs out of the rares DB.

GetRaresList()

This returns an XML document with the Item ID's to Part ID's mapping, and the type of parts like on http://rares.techhaven.org/list.php

<raredb>
 <item id="1" name="Terminator">
  <part id="7" type="TP"/>
  <part id="8" type="HP"/>
  <part id="9" type="FP"/>
  <part id="10" type="CP"/>
  <part id="11" type="OP"/>
 </item>
</raredb>