No project description provided
Project description
Python Motion
A Python library for interfacing with the Motion
🧪 This library is still in development and is not yet ready for production use.
Installation
pip install python-motion
Usage
from motion import Motion
motion = Motion('your-api-key')
# Get Tasks
tasks = motion.tasks.list()
Documentation
Library docs are a work in progress. For now, you can refer to the official API documentation for more information.
Every resource has a list
, retrieve
, create
, update
, and delete
method.
# List
tasks = motion.tasks.list()
# Retrieve
task = motion.tasks.retrieve('task-id')
# Create
task = motion.tasks.create({
'name': 'Task Name',
'description': 'Task Description'
})
# Update
task = motion.tasks.update('task-id', {
'name': 'New Task Name'
})
# Delete
motion.tasks.delete('task-id')
Available Resources:
- Tasks
- Projects
- Users
- Workspaces
- Comments
- Schedule
Roadmap
- Initial implementation
- Named arguments for all methods
- Async support
- Convert responses to Pydantic models
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python_motion-0.1.1.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for python_motion-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8789c10c993de2e4cd3213fa4b7650b428a7735e3b77aaa410ac75e9e6da907e |
|
MD5 | 6b4c3ee3e7e9d95df914de1fac4f1ce2 |
|
BLAKE2b-256 | 519cb61feef871117abc457be413b3117bd8d17a2225343c58d698f33c9bbb16 |