Giter VIP home page Giter VIP logo

pyforecast's People

Contributors

vafliik avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pyforecast's Issues

Installing the requests_cache globally breaks on platforms without a filesystem

requests_cache.install_cache(cache_name='forecast_cache', backend='sqlite', expire_after=180)

I recently added pyforecast as a dependency of my Google App Engine application, and suddenly all my calls to requests failed as it tried to write to a sqlite database on disk (GAE has no writeable storage). It would be much better to use a requests session with caching enabled rather than to set it globally.

Readme needs keyword changed

When I ran this locally, I had some issues, but simple to fix

From
api = forecast.Api(account_id='account_id', authorization_token='authorization_token')

to
api = forecast.Api(account_id='account_id', auth_token='authorization_token')

API binding documentation

Is your feature request related to a problem? Please describe.
I do not know what options do I have. What can I do with all those Persons and Projects??

Describe the solution you'd like
Use the Sphinx APIDoc ... or something like that

Get assignment function erroring. (Fix provided)

The get function on line 25 of this page doesn't use the params making the assignments error. This can be fixed by changing line 55 to
data = self._requestor.get(f"assignments?start_date={start_date}&end_date={end_date}", params=params)

Otherwise as the params aren't used it gives a 'no start_date or end_date error'.

Thanks

Add Logging

What to log:

  • Requests
  • API response times (vs times when cached)
  • Errors

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.