Quote:
Originally Posted by Mystara0001
How would I go about getting info from the API?
ETA: Is there a way to cast a spell by name rather than number?
|
You can find documentation on the API at
http://census.soe.com/
It's a basic RESTful API accessed by GET requests, so you can just enter a URL in your browser and get the output in a browser window. It does both JSON and XML, I prefer XML while I'm digging.
You can cast a spell by just putting the name after
useability, although in UI XML you may need to use HTML entities for special characters like single and double quotes and quote the string to make the UI handle spaces correctly.