Answer the question
In order to leave comments, you need to log in
Diablo 3 API
Has anyone tried the Diablo 3 WEB API? Documentation here .
In general, everything there is quite interesting, though there are some subtleties that are not indicated in the documentation, for example, how to return information in Russian, or how to work with Russian BattleTags. If anyone has done this, you may know the answers to these questions.
Answer the question
In order to leave comments, you need to log in
In general, having gone deep, I then found these little things by chance on the Korean Blizzard forum. And the essence is this: I
'll take for example the first user I came across with the name Ozzy#2223 (I hope you're not sitting here). To get data on his profile, look here (in the profile name you need to replace the # sign with a dash - ) eu.battle.net/api/d3/profile/Ozzy-2223/ , everything is fine, but the description of abilities in English - ?locale=ru_ru , it turns out eu.battle.net/api/d3/profile/Ozzy-2223/?locale=ru_ru .
And what about those who with Russian names, for example, are also a random person Hypostasis # 2474 , we try -eu.battle.net/api/d3/profile/Hypostasis-2474/ . They give us back - OOPS . And even if you add ?locale=ru_ru , it won't return anything either. The answer was suggested to me on the battle.net forum, indicating a link to the Korean forum, everything is much easier to add at the end of the index and it will be displayed in the language of which the profile is written. We get - eu.battle.net/api/d3/profile/Hypostasis-2474/index
Yes, everything is fine and everything works. Why isn't this in the documentation? Why complicate things so much?
Nevertheless, I hastily threw a program for viewing the profile on Diablo 3 here -
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question