0.7.6 • Published 5 years ago

@expertcomptabledev/impots.gouv.bot v0.7.6

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

impots.gouv.bot

Impots.gouv.bot is a tool to crawl http://www.impots.gouv.fr pro account, and get all informations available with cli or with node module.

example `impots declarations`

Requirements

To use impots.gouv.bot, you must install :

Get started

  1. Install cli using npm
npm install -g @expertcomptabledev/impots.gouv.bot
  1. Try login command
➜  ~ impots login --email <your-email> --password <your-password>
@expertcomptabledev/impots.gouv.bot ✔  success   Logged in your impot.gouv.fr account

How to

Use CLI commands

All commands must use impots prefix, ex. ➜ ~ impots login ...

You can ask help everywhere using --help flag.

  • login : test login into your account (OK)
  • companies : get list of your companies (OK)
  • declarations : get declarations by type (in progress)
  • declare : get declare view by type (OK)

Use lib in node project

  1. Install impots.gouv.bot into your project using
npm install @expertcomptabledev/impots.gouv.bot --save
  1. Import impots.gouv.bot into your code
import * as impots from '@expertcomptabledev/impots.gouv.bot';
  1. Use it !
const companies = await impots.getCompanies(email, password);

Must print in your console a table with your companie list. Below an example of list formatted into table using tty-table :

  ┌───────┬───────────┬──────────────────────────────┐
  │   #   │   SIREN   │             Name             │
  ├───────┼───────────┼──────────────────────────────┤
  │   1   │ XXX1X6X9X │ SAS XLA AXSUXXNXES           │
  ├───────┼───────────┼──────────────────────────────┤
  │   2   │ XX9X614X5 │ SAS XXXEXCAP XXXXNCE         │
  ├───────┼───────────┼──────────────────────────────┤
  ...
0.7.6

5 years ago

0.7.5

5 years ago

0.7.4

5 years ago

0.7.3

5 years ago

0.7.2

5 years ago

0.7.1

5 years ago

0.7.0

5 years ago

0.6.10

5 years ago

0.6.9

5 years ago

0.6.8

5 years ago

0.6.7

5 years ago

0.6.6

5 years ago

0.6.5

5 years ago

0.6.4

5 years ago

0.6.3

5 years ago

0.6.2

5 years ago

0.6.1

5 years ago

0.6.0

5 years ago

0.5.14

5 years ago

0.5.13

5 years ago

0.5.12

5 years ago

0.5.11

5 years ago

0.5.10

5 years ago

0.5.9

5 years ago

0.5.8

5 years ago

0.5.7

5 years ago

0.5.6

5 years ago

0.5.5

5 years ago

0.5.4

5 years ago

0.5.3

5 years ago

0.5.2

5 years ago

0.5.1

5 years ago

0.5.0

5 years ago

0.4.6

5 years ago

0.4.5

5 years ago

0.4.4

5 years ago

0.4.3

5 years ago

0.4.2

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.22

5 years ago

0.3.21

5 years ago

0.3.20

5 years ago

0.3.19

5 years ago

0.3.18

5 years ago

0.3.17

5 years ago

0.3.16

5 years ago

0.3.15

5 years ago

0.3.14

5 years ago

0.3.13

5 years ago

0.3.12

5 years ago

0.3.10

5 years ago

0.3.9

5 years ago

0.3.8

5 years ago

0.3.7

5 years ago

0.3.6

5 years ago

0.3.5

5 years ago

0.3.4

5 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.6

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.1

5 years ago