Skip to content

Commit

Permalink
new version and compatiblity with new api
Browse files Browse the repository at this point in the history
  • Loading branch information
SharpBit committed Feb 13, 2018
1 parent f0ec032 commit a21786d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion abrawlpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
############


__version__ = 'v1.1.2'
__version__ = 'v1.2.0'
__title__ = 'abrawlpy'
__license__ = 'MIT'
__author__ = 'SharpBit'
Expand Down
2 changes: 1 addition & 1 deletion abrawlpy/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def __init__(self, token, **options):
self.session = aiohttp.ClientSession()
self.timeout = options.get('timeout') # kwargs are for more future functionality besides timeout
self.headers = {
'Authorization': 'Bearer ' + token,
'Authorization': token,
'User-Agent': 'abrawlpy | Python'
}

Expand Down
2 changes: 1 addition & 1 deletion abrawlpy/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@


class API:
BASE = 'http://brawl-stars.herokuapp.com/api'
BASE = 'http://brawlstars-api.herokuapp.com/api'
PROFILE = BASE + '/players'
BAND = BASE + '/bands'
EVENTS = BASE + '/events'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='abrawlpy',
version='1.1.2',
version='1.2.0',
description='An async Python API wrapper for the Brawl Stars API',
long_description=long_description,
url='https://github.com/SharpBit/brawlstars',
Expand Down

0 comments on commit a21786d

Please sign in to comment.