Skip to main content

Python binding for Forecast Harverst API

Project description

PyForecast

https://img.shields.io/pypi/v/pyforecast.svg https://img.shields.io/travis/vafliik/pyforecast.svg Documentation Status

Python binding for Forecast Harverst API - Work In Progress

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

pyforecast-0.1.0.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyforecast-0.1.0-py2.py3-none-any.whl (4.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pyforecast-0.1.0.tar.gz.

File metadata

  • Download URL: pyforecast-0.1.0.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyforecast-0.1.0.tar.gz
Algorithm Hash digest
SHA256 44db870d8bad4b3dce10eadcad46a4495d950eb58469860f96ed5c312ccbc516
MD5 df551b62d1e5bd11dafb80eee9f3ce10
BLAKE2b-256 ee9676717d13db5a6bd23cf75d7990b13ac1cfe4a1405cf8b297b63922199da2

See more details on using hashes here.

File details

Details for the file pyforecast-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pyforecast-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ad5362f30902470f7e08343e2c1fd8b522d1214a7f66531a60e4d562b960c3c7
MD5 41d51572525963bf18fc0cf10667a3ad
BLAKE2b-256 cff8f8b81f666991dec949d0aa6fd8bc748dca80c86e5f466963f1907716edfc

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