/moleculer-insee-sirene

Microservice for https://www.sirene.fr/sirene/public/static/api

Primary LanguageJavaScriptMIT LicenseMIT

moleculer-insee-sirene

Build Status Coverage Status Codacy Badge Maintainability David Known Vulnerabilities

Downloads FOSSA Status

How to use it

const InseeSireneMixin = require('moleculer-insee-sirene')

module.exports = {
  mixins: [InseeSireneMixin],
  settings: {
    /** @type {Object} Keys given by https://api.insee.fr/catalogue/site/themes/wso2/subthemes/insee/pages/item-info.jag?name=Sirene&version=V3&provider=insee. */
    keys: {
      /** @type {String} Consumer key given by INSEE */
      key: '',
      /** @type {String} Consumer secret given by INSEE */
      secret: ''
    }
  }
}