Skip to main content

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


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)

Uploaded Source

Built Distribution

python_motion-0.1.1-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page