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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 2 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