Hi,
Is there a way to get a list of the factions coming with an expansion?
Thanks in advance.
Hi,
Is there a way to get a list of the factions coming with an expansion?
Thanks in advance.
In the reputation index endpoint, you will get the expansions at the end of the response.
So you request this:
https://us.api.blizzard.com/data/wow/reputation-faction/index?namespace=static-us&locale=en_US
And you wil find this at the end:
"root_factions": [
{
"key": {
"href": "https://us.api.blizzard.com/data/wow/reputation-faction/1169?namespace=static-9.0.2_36532-us"
},
"name": "Guild",
"id": 1169
},
{
"key": {
"href": "https://us.api.blizzard.com/data/wow/reputation-faction/2414?namespace=static-9.0.2_36532-us"
},
"name": "Shadowlands",
"id": 2414
},
{
"key": {
"href": "https://us.api.blizzard.com/data/wow/reputation-faction/2104?namespace=static-9.0.2_36532-us"
},
"name": "Battle for Azeroth",
"id": 2104
},
...
Oh, I missed that.
Thanx a lot.