Python bindings for CompanyCam API.
Project description
python-companycam
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
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
Built Distribution
Close
Hashes for companycam-unofficial-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d230b7f8edbf0b6831bac4d515da37559d0ef7598e9be9480b4258ed57e3766 |
|
MD5 | 83577d7b2f7c385d538834d2082695b3 |
|
BLAKE2b-256 | ccb640208f0f5a9067ccd097c7f81afa2804990bcb7ab411aae360029efef646 |
Close
Hashes for companycam_unofficial-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b148818e7f785a02482d70a8d032709a4b3a3ef97d1f9f0ab7b218dae622a2d |
|
MD5 | 4dfc1a9ff2247547a3a06df3e9f3f94c |
|
BLAKE2b-256 | 4763f07ee4111a1587c9ca965de57c7d65faf9017e9ce27a5379fc1bb9908064 |