Python binding for Forecast Harverst API
Project description
PyForecast
Python binding for Forecast Harverst API - Work In Progress
Free software: Apache Software License 2.0
Documentation: https://pyforecast.readthedocs.io.
Features
Implemented
Client
Project
Person
TO DO
Who am I
Assignments
Milestones
User Connections
Placeholders
All PUT/POST requests (inserting/modifying data)
Usage
Create an Authorization token in Forecast App: https://id.getharvest.com/developers
Create an instance of the forecast.Api using the Account ID and Authorization token:
>>> import forecast >>> api = forecast.Api(account_id='account_id', authorization_token='authorization_token')
To fetch a single user’s public status messages, where user is a Twitter user’s screen name:
>>> for project in api.get_projects(): >>> print(project.name, project.id) Demo Project 101234 Killer App 106555 >>> person = api.get_person(42) >>> print(person.first_name, person.last_name, person.email) Pavel Pribyl pribyl.pavel@gmail.com
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2018-05-26)
First release on PyPI.
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
Built Distribution
Hashes for pyforecast-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad5362f30902470f7e08343e2c1fd8b522d1214a7f66531a60e4d562b960c3c7 |
|
MD5 | 41d51572525963bf18fc0cf10667a3ad |
|
BLAKE2b-256 | cff8f8b81f666991dec949d0aa6fd8bc748dca80c86e5f466963f1907716edfc |