Greetings,
First time posting here, kinda beginner in API and everything around it.
I can’t seem to find the Realm ID that I need to connect to the right Auction House.
I would need the realm id of Defias Brotherhood on EU
If you could tell me where I went wrong that would be awesome.
Thank you
It’s a bit clumsy, but you can find a realms ID via the slug like this:
https://eu.api.blizzard.com/data/wow/realm/defias-brotherhood?namespace=dynamic-eu&locale=en_GB&access_token=
This URL would then return the object below.
What you are looking for here is the connected_realm object’s url. And get the ID from there.
{
"_links": {
"self": {
"href": "https://eu.api.blizzard.com/data/wow/realm/defias-brotherhood?namespace=dynamic-eu"
}
},
"id": 635,
"region": {
"key": {
"href": "https://eu.api.blizzard.com/data/wow/region/3?namespace=dynamic-eu"
},
"name": "Europe",
"id": 3
},
"connected_realm": {
"href": "https://eu.api.blizzard.com/data/wow/connected-realm/1096?namespace=dynamic-eu"
},
"name": "Defias Brotherhood",
"category": "English",
"locale": "enGB",
"timezone": "Europe/Paris",
"type": {
"type": "RP",
"name": "Roleplaying"
},
"is_tournament": false,
"slug": "defias-brotherhood"
}
Thank you so much for the fast response!
I appreciate it!
You need the connected realm ID to get the auction house data.