Automatically download invoices from a car2go account in PDF format
- login to car2go.com with your account
- use something like cookie.txt to download a
cookies.txt
file for the car2go website - place the
cookies.txt
file in the same directory as this script node index.js <year>
(example:node index.js 2015
)
If everything goes smooth, you'll have 12 json files representing the monthly recaps in JSON format in the root dir and all the PDFs invoices in the directory invoices
.
Use at your own risk. I hacked this together for personal use, and it's very very rough.