Character encoding in guild name (slug)

Hello,

how to encode guild name slugs?

working example without white space:
https://eu.api.blizzard.com/data/wow/guild/taerar/kartell/roster?namespace=profile-eu&locale=en_US&access_token=<token>

example with white space characters:
guild name: macht druck
server: taerar
https://eu.api.blizzard.com/data/wow/guild/taerar/macht%20druck/roster?namespace=profile-eu&locale=en_US&access_token=<token>

https://eu.api.blizzard.com/data/wow/guild/taerar/macht+druck/roster?namespace=profile-eu&locale=en_US&access_token=<token>

i tried %20 and + both return 404.

:woman_shrugging:

Since it asks for a slug you must replace all spaces by dashes. Also note the name must be all in lowercase, even multibyte characters.

https://eu.api.blizzard.com/data/wow/guild/taerar/macht-druck/roster?namespace=profile-eu&locale=en_US&access_token=<token>

1 Like