vafliik / pyforecast Goto Github PK
View Code? Open in Web Editor NEWPython API bindings for Harvest Forecast (ForecastApp) - Work In Progres
License: Other
Python API bindings for Harvest Forecast (ForecastApp) - Work In Progres
License: Other
pyforecast/forecast/requestor.py
Line 7 in 74c5fd3
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.
Add API tests using mocks
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')
Add caching of the API calls results, see e.g. https://realpython.com/caching-external-api-requests/
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
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
What to log:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.