View Single Post
  #13  
Unread 01-28-2015, 07:34 PM
tknarr's Avatar
tknarr tknarr is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Jul 2006
Server: Unrest
Posts: 849
Default

Quote:
Originally Posted by Mystara0001 View Post
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.
__________________
"Hey! I'm not illiterate. I had a book once. ...could've used some ketchup though..."
Reply With Quote