Skip to content

Commit

Permalink
Merge pull request #23 from pbanaszkiewicz/pbanaszkiewicz-patch-1
Browse files Browse the repository at this point in the history
cookbook.rst: fix small errors
  • Loading branch information
pydanny committed Jun 15, 2015
2 parents 4df952a + bb5fe8e commit 7883eba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/cookbook.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Get a List of My Draft/Unpublished Events
my_id = eventbrite.get_user()['id']
# Get a raw list of events (includes pagination details)
events_response = eventbrite.event_search(**{'user.id':myid}
events = eventbrite.event_search(**{'user.id': my_id})
# List the events in draft status
[x for x in events['events'] if x['status'] == 'draft']
[x for x in events['events'] if x['status'] == 'draft']

0 comments on commit 7883eba

Please sign in to comment.