Skip to main content


Project description

Ticketscloud API Client – A python client for API

Build Status

Docs are available at Pull requests with documentation enhancements and/or fixes are awesome and most welcome.


  • python >= 2.6


Ticketscloud API Client could be installed using pip:

pip install ticketscloud


Initialize API client

You should have api_token, from the TC service.

from ticketscloud import TCClient

client = TCClient(api_token='your-token-here')

Customize options

client = TCClient(

Working with TC API

The client has nice and easy syntax. Just have a look:

# Get events list GET['event-id']()

# Get deals list with scheme GET**{
    'fields-schema': 'id,event{id},term{extra}', 'status': 'accepted'})

# Create a new order POST, event=...)

# Update a order PATCH<id>

# You could also use a 'getitem' syntax for resources
# Same there

# And etc. I hope you make decision how the client works :)

Context manager

You could temporary redefine the client settings in context:

with client.ctx(loglevel='DEBUG'):
    # More logging here**params)

Raw api request

You could make a raw request to TC API:

client.request(method='GET', url='v1/resources/events', data={...})

Have a nice codding!

Bug tracker

If you have any suggestions, bug reports or annoyances please report them to the issue tracker at


Development of starter happens at github:


  • klen (Kirill Klenov)


Licensed under a BSD license.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ticketscloud, version 0.6.4
Filename, size File type Python version Upload date Hashes
Filename, size ticketscloud-0.6.4-py2.py3-none-any.whl (7.3 kB) File type Wheel Python version 3.4 Upload date Hashes View
Filename, size ticketscloud-0.6.4.tar.gz (6.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page