Skip to content

Commit

Permalink
Added URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Greenfeld committed Jun 29, 2015
1 parent 9390d01 commit 74d70db
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
19 changes: 12 additions & 7 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,42 +3,47 @@
History
-------

3.1.0 (2014-05-11)
3.2.0 (2015-06-28)
-------------------

* Eventbrite client now accepts an ``eventbrite_api_url`` argument.

3.1.0 (2015-05-11)
------------------

* Added control over expansion of response. Documentation at http://www.eventbrite.com/developer/v3/reference/expansions/

3.0.5 (2014-04-24)
3.0.5 (2015-04-24)
------------------

* Removed 'content-type' header from all GET requests. Thank you @xxv for identifying the problem and contributing code.

3.0.4 (2014-03-12)
3.0.4 (2015-03-12)
------------------

* Resolved the search result response problem where filtering did not work.


3.0.3 (2014-03-02)
3.0.3 (2015-03-02)
------------------

* Fixed import issue with ``__version__``. Thank you @meshy and @longjos for identifying the problem.

3.0.2 (2014-01-30)
3.0.2 (2015-01-30)
------------------

* Event creation now working.
* Added feature allowing the use of Eventbrite API url at test servers. Should expedite development of tricky post actions.


3.0.1 (2014-01-30)
3.0.1 (2015-01-30)
------------------

* Added reverse mapping for ``get_event_ticket_class()`` method.
* Added ``events`` mapping to provide GET access to the Event endpoint.
* Removed several deprecated JSON mappings.

3.0.0 (2014-01-28)
3.0.0 (2015-01-28)
------------------

* Initial release of 3.0.0 client
Expand Down
4 changes: 2 additions & 2 deletions eventbrite/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
class Eventbrite(AccessMethodsMixin):

allowed_methods = ['post', 'get', 'delete']
eventbrite_api_url = EVENTBRITE_API_URL
content_type_specified = True

def __init__(self, oauth_token):
def __init__(self, oauth_token, eventbrite_api_url=EVENTBRITE_API_URL):
self.oauth_token = oauth_token
self.eventbrite_api_url = EVENTBRITE_API_URL

@property
def headers(self):
Expand Down

0 comments on commit 74d70db

Please sign in to comment.