Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!


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.

Filename, size & hash SHA256 hash help File type Python version Upload date
ticketscloud-0.4.2-py2.py3-none-any.whl (7.2 kB) Copy SHA256 hash SHA256 Wheel 2.7 Nov 14, 2014
ticketscloud-0.4.2.tar.gz (6.3 kB) Copy SHA256 hash SHA256 Source None Nov 14, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page