Age of Conan Lookup API
API parameters available:
- This param is used to set the search string for doing lookups by Name. This should always have a value if searching by Name. The results will mimic our general site search for each object however it will only return up to a maximum of 10 objects.
Sample URL:
http://aoc.yg.com/api/lookup?s=Axe%20of%20Red%20Ruin
- This is the ID param and is used for looking up objects by ID. This should always have a value when doing lookups by ID.
Sample URL:
http://aoc.yg.com/api/lookup?i=3772403
- Allows you to set the encoding type.
Encoding types:
- json (default)
- xml
- json (default)
- xml
Sample URL ():
http://aoc.yg.com/api/lookup?s=Axe%20of%20Red%20Ruin&t=jsonSample Response:
{"objects":[{"id":3772403,"name":"Axe of Red Ruin","url":"http:\/\/aoc.yg.com\/item\/axe-of-red-ruin?h=-y9QAdfr","icon":{"small":"http:\/\/aoc.yg.com\/Img\/game\/small\/193985.jpg","medium":"http:\/\/aoc.yg.com\/Img\/game\/medium\/193985.jpg","large":"http:\/\/aoc.yg.com\/Img\/game\/large\/193985.jpg"}}]}Sample URL ():
http://aoc.yg.com/api/lookup?s=Axe%20of%20Red%20Ruin&t=xmlSample Response:
<?xml version="1.0" encoding="utf-8" ?> <yg_xml> <object> <id>3772403</id> <name>Axe of Red Ruin</name> <url>http://aoc.yg.com/item/axe-of-red-ruin?h=-y9QAdfr</url> <icons> <small>http://aoc.yg.com/Img/game/small/193985.jpg</small> <medium>http://aoc.yg.com/Img/game/medium/193985.jpg</medium> <large>http://aoc.yg.com/Img/game/large/193985.jpg</large> </icons> </object> </yg_xml>
- Allows you to set the object type.
Object types:
- item (default)
- item (default)
Sample URL ():
http://aoc.yg.com/api/lookup?s=Axe%20of%20Red%20Ruin&o=item
Note: If parameter or is not set in the URL, the API will use their default values.
Multi-lingual Support:
Our API supports lookups for all of the languages we offer in our database simply by adding the character code before the /api/ section of the URL.Character codes: , , , ,
Samples
http://aoc.yg.com/es/api/lookup?s=Hacha%20de%20ruina%20roja
http://aoc.yg.com/de/api/lookup?s=Axt%20der%20roten%20Ruine
http://aoc.yg.com/fr/api/lookup?s=Hache%20de%20ruine%20rouge
http://aoc.yg.com/pl/api/lookup?s=Top%C3%B3r%20Czerwonych%20Ruin
http://aoc.yg.com/ru/api/lookup?s=Топор%20алых%20руин
Note: Our API defaults to English lookups when no character code is set in the URL.
Sample URLs:
Item:http://aoc.yg.com/api/lookup?s=Axe%20of%20Red%20Ruin&o=item&t=jsonItem (Same as above but using the defaults):
http://aoc.yg.com/api/lookup?s=Axe%20of%20Red%20Ruin

