Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1016 Bytes

readme.md

File metadata and controls

40 lines (28 loc) · 1016 Bytes

OVH-FACT

This tool allow you to download all your OVH.com invoices.

Installation

  • You need Ruby 2.x.x and nodeJS 9.x.x
  • Clone this repository and go to the cloned folder
  • npm install

Configuration

Go to https://api.ovh.com/createToken/?GET=/me/* to generate new credentials. Then create a .env file in your folder

APP_ENDPOINT = "<YOUR APP ENDPOINT>"
APP_KEY     = "<YOUR APP KEY>"
APP_SECRET  = "<YOUR SECRET>"
CONSUMER_KEY= "<YOUR CONSUMER KEY>"

About endpoints

  • OVH Europe: ovh-eu (default)
  • OVH North-America: ovh-ca
  • RunAbove: runabove-ca
  • SoYouStart Europe: soyoustart-eu
  • SoYouStart North-America: soyoustart-ca
  • Kimsufi Europe: kimsufi-eu
  • Kimsufi North-America: kimsufi-ca

Usage

  • node app.js > list.csv will generate a list.csv file containing all your invoices (take some times)
  • ruby process.rb 2017 will export all 2017 invoices from the list.csv as PDF

Todo

  • Add date range to filter invoices export