-
Notifications
You must be signed in to change notification settings - Fork 22
get wow_token price #5
Copy link
Copy link
Closed
Description
Hello, implement get_wowtoken_price. I wrote it in my downloaded api.py, but i think this is crutch.
def get_resource(self, resource, region, type=None, *args, **filters):
resource = resource.format(*args)
base_url = self.__base_url.format(region)
if region == 'cn':
base_url = 'api.blizzard.com.cn'
if type == 'token':
base_url += '/data'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels