eventbrite-sdk-python
Official Eventbrite SDK for Python
Free software: Apache 2 license
Documentation: https://eventbrite.readthedocs.org.
Usage
The Eventbrite Python SDK makes it trivial to interact with the Eventbrite API:
>>> from eventbrite import Eventbrite
>>> eventbrite = Eventbrite('my-oauth-token')
>>> user = eventbrite.get_user() # Not passing an argument returns yourself
>>> user['id']
1234567890
>>> user['name']
Daniel Roy Greenfeld
You can also specify API endpoints manually:
>>> user = eventbrite.get('/users/me')
>>> user['id']
1234567890
>>> user['name']
Daniel Roy Greenfeld
Usage with Frameworks
When using Flask, you can convert incoming webhook requests into Eventbrite API objects using the webhook_to_object() method:
@app.route('/webhook', methods=['POST'])
def webhook():
# Use the API client to convert from a webhook to an API object
api_object = eventbrite.webhook_to_object(request)
# Process the API object
if api_object.type == 'User':
do_user_process(api_object)
if api_object.type == 'Event':
do_event_process(api_object)
return ""
TODOS
Abstract the HTTP calls so they can work with all of the below:
requests
Google’s HTTP client
Tornado
Calling different HTTP libraries:
Eventbrite(OAUTH_TOKEN, "requests") Eventbrite(OAUTH_TOKEN, "google") Eventbrite(OAUTH_TOKEN, "tornado")
History
3.0.0-alpha{%d} (2014-12-04)
Alpha series for initial development
Inception
Metadata
Release files for workthing 3.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| workthing-3.0.1.tar.gz | 24.2 kB | Without provenance | Details for workthing-3.0.1.tar.gz |
Release files / workthing-3.0.1.tar.gz
| Download URL | workthing-3.0.1.tar.gz |
|---|---|
| Size | 24.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
24c62f474c88a1abf27a5c965da3e05c51dcab4f42fb5985a5255748699b130d
|
|
BLAKE2b-256 checksum How to use checksums |
ba68479c4040e736826ef35800c422df355f4a9f2814780abc2dfb43f29c0162
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for workthing 3.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.