Latest Neocron News and Information

  • New test server patch #564 has been released to Vedeena

User:Brammers/RaresDBapi

From Neocron Wiki
Jump to: navigation, search

Rares DB API

Design in process....

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>