Skip to content

tarekdj/tnrc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

tnrc

Node library to get Tunisian companies public data from http://www.registre-commerce.tn

Installation

npm install tnrc

Usage example

const { tnrc } = require('tnrc');

// Get data by MF number
const mf_serach = await tnrc.getDataByMF('MF NUMBER');
console.log(mf_serach);

Notes

This is a work in progress. Following requests are supported:

  • Search by RC number. (Deprecated by th website)
  • Search by MF number.

It relies on GoogleChrome/puppeteer (Headless Chrome Node API) to retrieve data.

Note: When you install Puppeteer, it downloads a recent version of Chromium (~71Mb Mac, ~90Mb Linux, ~110Mb Win) that is guaranteed to work with the API.

About

Node library to get Tunisian companies public data from http://www.registre-commerce.tn

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published