OWAPI icon indicating copy to clipboard operation
OWAPI copied to clipboard

rank_image doesnt show stars?

Open OverDodo opened this issue 6 years ago • 2 comments

Issue

The rank_image only returns the portrait but not the stars..

Links that cause the issue

https://owapi.net/api/v3/u/Dad-12262/blob

Hi! Thank you for helping OWAPI by submitting an issue. Before you submit, please make sure you've done the following:

  • [ x] Google/Search previous issues to make sure it hasn't been answered before.

  • [x] Ask if this is an OWAPI issue, or a Linux issue, etc.

    • OWAPI requires Python 3.5 or higher installed on a UNIX machine, and it's not really our job to troubleshoot random Linux errors.

Thanks!

OverDodo avatar Feb 16 '18 11:02 OverDodo

Hi @OverDodo The reason for only returning the image rank image without stars is because the playoverwatch website provides the rank image and the star image seperately. The API could additionally return the star image too. The implementation is not that complicated. You have to add them together in your application.

jpylypiw avatar Feb 16 '18 13:02 jpylypiw

#270 has been merged into the master branch, which also brings back a key in "overall_stats" called prestige_image, which houses the URL for the star image.

relaera avatar Jan 21 '19 14:01 relaera