diff --git a/bitbucket/__init__.py b/bitbucket/__init__.py index 50c6032..0c174b9 100644 --- a/bitbucket/__init__.py +++ b/bitbucket/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -__version__ = '0.5.4' +__version__ = '0.5.5+bitsight' __doc__ = """ Bitbucket has a REST API publicly available, this package provide methods to interact with it. diff --git a/bitbucket/bitbucket.py b/bitbucket/bitbucket.py index 55c0d1e..f7af708 100644 --- a/bitbucket/bitbucket.py +++ b/bitbucket/bitbucket.py @@ -27,8 +27,8 @@ # = URLs = # ======== URLS = { - 'BASE': 'https://bitbucket.org/!api/1.0/%s', - 'BASE_V2': 'https://bitbucket.org/!api/2.0/%s', + 'BASE': 'https://api.bitbucket.org/1.0/%s', + 'BASE_V2': 'https://api.bitbucket.org/2.0/%s', 'BASE_APIv2': 'https://api.bitbucket.org/2.0/%s', # Get user profile and repos 'GET_USER': 'users/%(username)s/',