Skip to content

douglasmakey/tookan_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TookanApi

python sdk for TookanApi

Usage

from api.client import TookanApi

# Create client
tookan = TookanApi.create_client(api_key='KEY', user_id='UserID')

Instance Task

 
# Create new Task
# https://tookanapi.docs.apiary.io/#reference/task/create-task
payload = {.....} # Describe your paylaod
new_task = tookan.create_task(payload)
 
# Get task by job_id
get_task = tookan.get_task(job_id=8456122)
 
# Get all tasks, you can pass different parameters like filter
all_task = tookan.get_all_tasks(job_status=1, job_type=0)
 
# Delete task by job_id
delete = tookan.delete_task(job_id=8465968)
 
# Update task
tookan.update_task(job_id=8680331, job_status=2)
 

Agent

# You can pass different parameters like filters.
# If you not pass fleet_id, return all agents
tookan.get_agent(fleet_id=70441)

About

python library for TookanApi

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages