Skip to main content

Python bindings for CompanyCam API.

Project description

python-companycam

Test Python License

Installation

python -m pip install git+https://github.com/ely-as/python-companycam

Usage

>>> import companycam
>>> from companycam.v2 import models

>>> api = companycam.API(token="YOUR_TOKEN_HERE")
>>> api.projects.list()
[Project(id='12345678', ...)]

>>> project = models.Project(name="My new project")
>>> api.projects.create(project)
Project(id='23456789', name='My new project', ...)

Development

Installation

git clone --recurse-submodules git+https://github.com/ely-as/python-companycam
cd python-companycam
python -m pip install -e .

Run tests

Install tox:

python -m pip install tox

Run tox:

tox

Run a specific tox environment:

tox -e flake8

Update Git submodules

git submodule foreach git pull

Resources

Dependencies

License

MIT.

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

companycam-unofficial-0.1.0.tar.gz (10.2 kB view hashes)

Uploaded Source

Built Distribution

companycam_unofficial-0.1.0-py3-none-any.whl (12.0 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