Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kamataryo/e-stat-client

E-Stat (政府統計) の Node.js クライアント
https://github.com/kamataryo/e-stat-client

census e-stat javascript typescript

Last synced: 4 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# Node.js e-Stat Client

This is a Node.js client for [e-Stat](https://www.e-stat.go.jp/).

## 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

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

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