Shivtr

Games Data

Accessing the Games Data from the API allows you to view the factions, races, classes, subclasses and server status info for games.

Games API
Lookup games
GET http://games.shivtr.com/games.json?search=wow

Get data for game 1
GET http://games.shivtr.com/games/1.json

Get NA server status info for game 1
GET http://games.shivtr.com/games/1/server_statuses.json

Get EU server status info for game 1
GET http://games.shivtr.com/games/1/server_statuses.json?region=EU


Game Object
{
"game": {
"id": 1,
"name": "World of Warcraft",
"abbr": "WOW",
"faction_name": "Faction",
"race_name": "Race",
"class_name": "Class",
"subclass_name": "Subclass",
"game_faction_ids": [1, 2]
},
"game_factions": [
{
"id": 1,
"name": "Alliance",
"game_race_ids": [1,2,3,4,5,6,7],
"game_class_ids": [1,2,3,4,5,6,7,8,9,10,11]
},
{
"id": 2,
"name": "Horde",
"game_race_ids": [8,9,10,11,12,13,14],
"game_class_ids": [12,13,14,15,16,17,18,19,20,21,22]
}
],
"game_races": [
{
"id": 9,
"game_faction_id": 2,
"name": "Goblin",
"game_class_ids": [12,14,15,16,17,18,19,20]
},
{
"id": 11,
"game_faction_id": 2,
"name": "Orc",
"game_class_ids": [12,14,15,17,18,19,20,21]
}
],
"game_classes": [
{
"id": 5,
"game_faction_id": 2,
"name": "Rogue",
"game_race_ids": [8,9,10,11,13,14]
},
{
"id": 2,
"game_faction_id": 2,
"name": "Shaman",
"game_race_ids": [8,9,11,12,13]
}
]
}


Games Lookup Object
{
"games": [
{
"id": 1,
"name": "World of Warcraft",
"abbr": "WOW"
}
]
}


Server Status Object
{
"server_statuses": [
{
"name": "Blackrock",
"region": "NA",
"population": "High",
"online": "true"
},
{
"name": "Shattered Hand",
"region": "EU",
"population": "Medium",
"online": "true"
}
]
}