Fuyukai / OWAPI

Overwatch JSON API
https://owapi.net
MIT License
456 stars 74 forks source link

Profile not returing correct data #199

Closed noinput closed 7 years ago

noinput commented 7 years ago

Issue

https://owapi.net/api/v3/u/Zappy-21908/stats returns 0 games played for eu - competitive. Comparing it to overbuff or Blizzard's site https://playoverwatch.com/en-us/career/pc/eu/Zappy-21908 you can see the player has 24 games played

Links that cause the issue

https://owapi.net/api/v3/u/Zappy-21908/stats

andrewzah commented 7 years ago

It says 24 for me

noinput commented 7 years ago

Sorry, the overall_stats

ndyarborough commented 7 years ago

Trouble formatting battletag for - GET /api/v3/u/:battletag/stats, cannot find info on my own gamertag.

ndyarborough commented 7 years ago

Any suggestions?

noinput commented 7 years ago

remove the : in front of battletag and remember its case sensitive. If it does not work, paste the URL youre trying to use.

Fuyukai commented 7 years ago

So every time I see an issue here, I usually type up something like "Gonna investigate this, give me a bit". Then I forget to send, and when the issue pops up in my email, I do the same process until like 3 months later I finally figure out how to reply to an issue.

So, I'm actually gonna look into this now.

ndyarborough commented 7 years ago

I was not using battletag properly, attempting to use my xbox live gamertag in the request parameter for /:battletag. I did not have a battle.net account tied to my overwatch account on Xbox Live. I had to create a battle.net account, link my overwatch profile to the battle.net account, and use the battletag I was given there.