X.x.1 where ‘1’ is increased on any release that does not break backwards compatibility (small, new features, enhancements, bugfixes)īug reports and pull requests are welcome on GitHub at. X.0.x where ‘0’ is increased any time there is a significant change to the API that possibly breaks backwards compatibility This will not change until Eventbrite releases a new API version. APIv3), we are tying our release numbers against it in a modified-semantic system:ģ.x.x where ‘3’ matches the API version. type = 'Event' : do_event_process ( api_object ) return "" Versioningīecause this client interacts with Eventbrite’s third API (a.k.a. type = 'User' : do_user_process ( api_object ) if api_object. webhook_to_object ( request ) # Process the API object if api_object. route ( '/webhook', methods = ) def webhook (): # Use the API client to convert from a webhook to an API object api_object = eventbrite. When using Flask, you can convert incoming webhook requests into EventbriteĪPI objects using the webhook_to_object() method. get_event ( 'my-event-id', expand = 'ticket_classes' ) > 'ticket_classes' in evbobject True Usage with Frameworks get_event ( 'my-event-id' ) > 'ticket_classes' in evbobject False > event = eventbrite. get ( '/users/me' ) > user 1234567890 > user Daniel Roy GreenfeldĮxpansions can be included in a returned GET resource by simply adding the expand keyword to the calling method: > event = eventbrite. You can also specify API endpoints manually: > user = eventbrite. get_user () # Not passing an argument returns yourself > user 1234567890 > user Daniel Roy Greenfeld The Eventbrite Python SDK makes it trivial to interact with the Eventbrite API: > from eventbrite import Eventbrite > eventbrite = Eventbrite ( 'my-oauth-token' ) > user = eventbrite. If you need to, you can also use easy_install: $ easy_install eventbrite Usage Installation from PyPI $ pip install eventbrite
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |