timechimp.api.invoices package

Module contents

timechimp.api.invoices.get_all(version: str = '1', params: Optional[dict] = None, to_json: bool = False) Union[requests.models.Response, List[dict]]

Get all the invoice entries

Parameters
  • version – the version of the endpoint to use

  • params – the query string parameters

  • to_json – convert the request response to a json object

Returns

TimeChimp invoice requests response object

timechimp.api.invoices.get_by_id(invoice_id: int, version: str = '1', to_json: bool = False) Union[requests.models.Response, dict]

Get a invoice entry by id

Parameters
  • invoice_id – the unique id of the invoice entry

  • version – the version of the endpoint to use

  • to_json – convert the request response to a json object

Returns

TimeChimp invoice requests response object

timechimp.api.invoices.get_by_project(project_id: int, version: str = '1', to_json: bool = False) Union[requests.models.Response, List[dict]]

Get a invoice entry by project

Parameters
  • project_id – the unique id of the project

  • version – the version of the endpoint to use

  • to_json – convert the request response to a json object

Returns

TimeChimp invoice requests response object