Automation for posting invoices to Leeto
Go to file
Hugo Poissonnet 2417a4c04d refactor: remove useless files 2021-12-23 09:40:10 +01:00
node_red_data refactor: minor label changes 2021-12-22 22:34:20 +01:00
.gitignore refactor: remove old files 2021-12-22 22:37:16 +01:00
README.md feat: NodeRED implementation 2021-12-22 17:37:01 +01:00

README.md

What is this ?

Automation tool for POSTING your Netflix invoice to Leeto

Requirements

  • Docker
  • An instance of Url to PDF to convert html invoice to PDF

Usage

  1. cd node_red_data
  2. npm install
  3. docker run -it -p 1880:1880 -v $PWD/node_red_data:/data nodered/node-red
  4. You need to provide credentials for
    • url-to-pdf-api Credentials
      • url example https://url-to-pdf-api.herokuapp.com/api/render
      • apiToken for Url to PDF if needed
    • Netflix Credentials Netflix
      • netflixId get the value from cookies in a web browser ( through the inspector )
      • secureNetflixId get the value from cookies in a web browser ( through the inspector )
    • Leeto Credentials Leeto
      • login is an email
      • password

TODO

  • Add an automation cron
  • Deploy to cloud something
  • Multi-user (webui maybe ?)
  • Better handling error
  • Netflix login (can be a pain in the ass)
  • Trigger on the good invoice date of Netflix once a month
  • Implement other invoice types like Spotify