1.0.5 • Published 5 months ago

gakkou-search v1.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

English explanation

Gakkou search

ターミナル上で、日本の学校を検索することができる npm です。

Image from Gyazo

準備

このツールの使用には「学校コード検索 API」への登録が必要です。以下の手順に従って登録を行ってください。

  1. 「学校コード検索 API」のウェブサイトにアクセスします。https://api.edu-data.jp/
  2. 利用登録を完了し、アカウントを作成します。「学校コード検索 API」の利用規約を確認し、同意する必要があります。
  3. ログイン後、「トークンの一覧」ページから「トークンの生成」を行ってください。

使用方法

1. API トークンの設定

API トークンは環境変数に設定する必要があります。以下のコマンドを実行してトークンを設定してください。

export GAKKOU_SEARCH_API_TOKEN='あなたのAPIトークン'

2. インストール

npx を利用して、gakkou-search を実行します。

npx gakkou-search

検索条件を指定するプロンプトが表示されますので、情報を入力して検索してください。

※検索にマッチした学校の件数が100 件を超えた場合、初めの 100 件のみ表示します。

Gakkou search

This is npm, which allows you to search for Japanese schools on the terminal.

Preparation

To use this npm, you need to register with the "学校コード検索 API". Please follow the steps below to register.

  1. Access the "学校コード検索 API" website. https://api.edu-data.jp/
  2. Complete your registration and create an account. You must review and agree to the terms of use for the "学校コード検索 API".
  3. After logging in, please "Generate a token" from the "Token list" page.

how to use

1. API token settings

The API token must be set in an environment variable. Please run the following command to set the token.

export GAKKOU_SEARCH_API_TOKEN='Your API token'

2. Installation

Execute gakkou-search using npx.

npx gakkou-search

You will be prompted to specify your search criteria, so enter the information accordingly.

*If the number of schools matching your search exceeds 100, only the first 100 will be displayed.

1.0.41

5 months ago

1.0.5

5 months ago

1.0.4

5 months ago

1.0.3

6 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago