The Hey everyone! I made an online API that can be used to get info into a json format. Below is an explanation on how to use the API, but if you want, you can go to http://www.tiffit.net/RealmInfo/ for something more interactive. There will be more requests coming in the future.
#Requests
###User
This request can be used to gather all the information on a player, such as their characters, guild, description, etc.
The path for this request is /RealmInfo/api/user
There are 2 parameter for this request, the βuβ parameter, and the βfβ parameter.
The βuβ parameter is the username of the player, this is required.
The βfβ parameter is the filter, this is not required. To find out how to use filters, use the link at the very top.
An example for a user request would be: http://www.tiffit.net/RealmInfo/api/user?u=tiffit
###Pets
This request can be used to gather the pet info on a player
The path for this request is /RealmInfo/api/pets-of
There is 1 parameter for this request, the βuβ parameter.
The βuβ parameter is the username of the player, this is required.
An example for a pet request would be: http://www.tiffit.net/RealmInfo/api/pets-of?u=tiffit
###Guilds
This request can be used to gather info on a guild.
The path for this request is /RealmInfo/api/guild
There are 2 parameter for this request, the βgβ parameter, and the βfβ parameter.
The βgβ parameter is the name of the guild, this is required.
The βfβ parameter is the filter, this is not required. To find out how to use filters, use the link at the very top.
An example for a guild request would be: http://www.tiffit.net/RealmInfo/api/guild?g=FellowshipOTMG
###Nexus Items
This request can be used to check what is being sold in the nexus.
The path for this request is /RealmInfo/api/nexusitems
There is 1 parameter for this request, the βcβ parameter.
The βcβ parameter is the category, this is required. To find the list of categories, use the link at the very top.
An example for a nexus items request would be: http://www.tiffit.net/RealmInfo/api/nexusitems?c=misc
###Servers
You can see what servers are online (according to realmeye).
The path for this request is /RealmInfo/api/servers
#Bugs
Bugs pop up all the time, if you try to get info but get an error in return (Something like βInternal API error!β) please let me know! If you find something else that is wrong (like wrong stats on a character), also let me know!