/e-stat-client

E-Stat (政府統計) の Node.js クライアント

Primary LanguageTypeScript

Node.js e-Stat Client

This is a Node.js client for e-Stat.

Prerequisite

  1. Create your account at https://www.e-stat.go.jp/
  2. issue an application ID at https://www.e-stat.go.jp/mypage/view/api
  3. feed the application ID as ESTAT_APP_ID as an environmental variable or as options.appId when client instanciation

Useage

import { Client } from '@kamataryo/e-stat-client'

const client = new Client({ appId: YOUR_APP_ID_VALUE })
await client.getStatsList({ limit: 10 })