overwatch-api icon indicating copy to clipboard operation
overwatch-api copied to clipboard

support ow cn

Open NeonCowboy opened this issue 6 years ago • 5 comments

I have try to GET http://ow-api.herokuapp.com/profile/pc/cn/MegaAthy-5469 But I can only get {} So I am wondering if this api support cnow now.

NeonCowboy avatar Dec 27 '18 14:12 NeonCowboy

Hi @JohnnyWang94,

Do you have a link to the playoverwatch player page? It doesn't seem to come up on https://playoverwatch.com/en-us/search?q=MegaAthy-5469.

Unless there's a separate url for CN.

alfg avatar Dec 27 '18 23:12 alfg

生田絵梨花-51323 I have tried to search on this site, but still can not get the player's information.

NeonCowboy avatar Jan 09 '19 06:01 NeonCowboy

OK, if someone is able to find the profile site for CN, then I should be able to parse it.

alfg avatar Jan 12 '19 20:01 alfg

It seems like a different endpoint for CN, other APIs have this problem too (https://github.com/Fuyukai/OWAPI/issues/9) I did not find it, but Master Overwatch did apparently. For example: https://masteroverwatch.com/profile/pc/cn/Song-5702 exists but https://playoverwatch.com/en-us/career/pc/Song-5702 does not.

Shadorc avatar Jan 20 '19 12:01 Shadorc

Thanks for the info @Shadorc. I wonder how Master Overwatch is doing it. 🤔

alfg avatar Jan 20 '19 20:01 alfg