eventbrite-python
eventbrite-python is an API wrapper for Eventbrite, written in Python.
This library uses Oauth2 for authentication.
Installing
pip install eventbrite-python
Usage
# if you have an access token:
from eventbrite.client import Client
client = Client(access_token=access_token)
# Or if you are using Oauth2 to get an access_token:
from eventbrite.client import Client
client = Client(api_key, client_secret, redirect_uri)
To obtain and set an access token:
- Build authorization URL
url = client.authorization_url(state="123456")
- Get access token
token = client.get_access_token(code)
- Set token
client.set_token(access_token)
Info
Get current user
me = client.get_current_user()
Get user organizations
organizations = client.get_user_organizations()
List categories
categories = client.list_categories()
List subcategories
subcategories = client.list_subcategories()
List formats
formats = client.list_formats()
List venues
venues = client.list_formats(organization_id)
List organizers
organizers = client.list_organizers(organization_id)
Events
List events
events = client.list_events(organization_id)
Get event
event = client.get_event(event_id)
Create event
event = client.create_event(organization_id, data)
Orders
Get order
order = client.get_order(order_id)
Webhooks
List webhooks
webhooks = client.list_webhooks(organization_id)
Create webhook
webhook = client.create_webhook(organization_id, endpoint_url, actions, event_id="")
Delete webhook
deleted = client.delete_webhook(webhook_id)
Metadata
Release files for eventbrite-python 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| eventbrite_python-0.1.0.tar.gz | 3.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| eventbrite_python-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.6 kB
Release files / eventbrite_python-0.1.0.tar.gz
| Download URL | eventbrite_python-0.1.0.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
54bcc614ade7cd5fc67dbe3291f0cafbd5ebbf7bb037f1857f2ef9300f7b391e
|
|
BLAKE2b-256 checksum How to use checksums |
fd51a1ec33354f55aae8c758a093c5a6af4e3139c95d1a2fc21529df9067a959
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / eventbrite_python-0.1.0-py3-none-any.whl
| Download URL | eventbrite_python-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1e4f2af3d7f1e95e6d8e18e5ff18b5e8aa63bec363d7fecf810031853dbdd699
|
|
BLAKE2b-256 checksum How to use checksums |
9f82c903e71ea123acadba5818960976efa804716fee9b1c01a32f5c0510faf5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|