Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial implementation of important features #3

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

esben
Copy link
Collaborator

@esben esben commented Aug 6, 2019

This implements the features that I expect to use for now.

esben added 13 commits August 6, 2019 22:02
No reason to drop the API handle at hand when constructing Client instances,
as it comes in handy later on.
Create a common base class (ehour.model.Model) for Client and Project classes,
prepared for re-use in other classes as well.
The CLI is intended for debug, test and simple lookups by humans.

For API access, use the Python API or the eHour REST API directly.
Although the rate belongs to Assignment, when fetching report, no direct
reference to assignment is returned, but the rate used is there.  So let's
just attach it to Hours, where it definitely can come in handy.
Receipt download is supported in API only for now.  CLI only shows number of
receipts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant