Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Python script to create monthly pdf timesheets based on your fastbill time tracking

Notifications You must be signed in to change notification settings

MASTERBITS/fastbill-timesheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

fastbill-timesheet

fastbill-timesheet is a Python script to create monthly pdf timesheets based on your fastbill time tracking.

Installation

Use the package manager pip to install requirements (requests, reportlab).

pip install -r requirements.txt

Usage

export API_USER=[fastbill email] API_KEY=[api-key]

python fastbill_timesheet.py [internal_project_id] [year-month]

Example

export API_USER=your@email.com API_KEY=yourapikeynotyourpasswordcheckfastbillsettings

# last month
python fastbill_timesheet.py 123456

# specific month
python fastbill_timesheet.py 123456 2022-02

How to get the fastbill internal project id?

Use the fastbill api or go into the fastbill webfrontend, open your browser inspector and select your project.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Credits

Erwan Martin / ZeWaren - How to write a table into a PDF using Python and Reportlab

License

MIT

About

Python script to create monthly pdf timesheets based on your fastbill time tracking

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages