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

Work In Progress

This project is currently under development. During sleepless nights, with two screaming kids :)

Please be patient. I would be grateful for any feedback & suggestions.

Introduction

Python binding for Forecast App (Harvest) API

Forecast is the fast and simple way to schedule your team across projects.

As per Forecast FAQ there is not a public API for the app. This project uses the exposed backend API (looks like Forecast guys are OK with that)

  • Free software: Apache Software License 2.0

  • Documentation: https://pyforecast.readthedocs.io. (do not go there yet, it is also WIP. Basic usage is described in this README)

Features

Implemented

  • Client

  • Project

  • Person

  • Assignments

  • Milestones

  • Roles

  • User Connections

  • Placeholders

  • Who am I

TO DO

  • All PUT/POST requests (inserting/modifying data)

  • Documentation

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

Example usage:

>>> 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.1 (2018-05-29)

  • Complete the API wrappers

  • Give up on Python 2 support … for now?

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.3.tar.gz (11.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.3-py2.py3-none-any.whl (5.7 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for pyforecast-0.1.3.tar.gz
Algorithm Hash digest
SHA256 d55f76fbc3f3a80ecfa2e78a37bcb0cd4afad9976dbe4db032b2639421a5a9d4
MD5 7128a49f0daea2aebc9121458902a2f8
BLAKE2b-256 0bb9466a75ba11631f5a176298b25d9191a9c59f6f6ed260cb76d90824017e95

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyforecast-0.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a30fe87ff4c9e1c4b72949d2386b5cfc0508fd2b517603596ad862d7b6a09af6
MD5 b06fad802a2fde20607e011de9cf5aef
BLAKE2b-256 0ccebd02316005ef5000bfaded62203a60e1300271cc5e843592bf90485f8b3d

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