This is a Node.js client for e-Stat.
- Create your account at https://www.e-stat.go.jp/
- issue an application ID at https://www.e-stat.go.jp/mypage/view/api
- feed the application ID as
ESTAT_APP_ID
as an environmental variable or asoptions.appId
when client instanciation
import { Client } from '@kamataryo/e-stat-client'
const client = new Client({ appId: YOUR_APP_ID_VALUE })
await client.getStatsList({ limit: 10 })