Skip to main content

Producteev API.

Project description

This is a Python wrapper for the Producteev API.

Installation

To install producteev, simply:

$ pip install producteev

Or:

$ easy_install producteev

Or, if you absolutely must:

$ sudo python setup.py install

Usage

Create a new client instance:

from producteev import Producteev

client = Producteev("api_key_from_producteev","api_secret_from_producteev")

Login in as a user:

client.login("username","password")

Get the server time:

client.time

Get as list of tasks:

client.tasks.list

Get as list of lables:

client.labels.list

Tests

For run tests:

$ python setup.py test

This option ask you about your API_KEY, SECRET_KEY, Username and Password for run tests with your account (after testing, your account will remain as before). If you don’t want write this info on each test, you can add it in tests.cfg

Docs

For build docs:

$ python setup.py docs [format]

Available formats: html (default), pdf, latex

License

Copyright (c) 2012 Martín García <newluxfero@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

producteev-0.1.5.tar.gz (11.8 kB view details)

Uploaded Source

File details

Details for the file producteev-0.1.5.tar.gz.

File metadata

  • Download URL: producteev-0.1.5.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for producteev-0.1.5.tar.gz
Algorithm Hash digest
SHA256 50b4a049633acef2e1f697c14a958a7780b4b3f1db4f68519af968ea3f815ea8
MD5 d5ab7fbb6c6a2105151620ab8d026440
BLAKE2b-256 e5f16e0c09f001d3bbe64ebc3f7dbe3cf3ab3b927413eba4719954660399bd25

See more details on using hashes here.

Supported by

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