{"id":18961179,"url":"https://github.com/kijuky/gas-jquantsapi","last_synced_at":"2025-08-31T14:34:57.093Z","repository":{"id":161118825,"uuid":"635880316","full_name":"kijuky/gas-jquantsapi","owner":"kijuky","description":"J-Quants API を Google Apps Script で操作します。","archived":false,"fork":false,"pushed_at":"2023-05-10T14:31:16.000Z","size":18,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-25T20:44:30.246Z","etag":null,"topics":["gas","gas-library","google-apps-script","j-quants"],"latest_commit_sha":null,"homepage":"https://qiita.com/kijuky/items/ad638bc07e59343472d1","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kijuky.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-03T16:46:51.000Z","updated_at":"2023-11-06T14:00:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"a03fe13b-f01e-467b-96e1-aefb54caa2bf","html_url":"https://github.com/kijuky/gas-jquantsapi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kijuky/gas-jquantsapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kijuky%2Fgas-jquantsapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kijuky%2Fgas-jquantsapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kijuky%2Fgas-jquantsapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kijuky%2Fgas-jquantsapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kijuky","download_url":"https://codeload.github.com/kijuky/gas-jquantsapi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kijuky%2Fgas-jquantsapi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272991960,"owners_count":25027532,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gas","gas-library","google-apps-script","j-quants"],"created_at":"2024-11-08T14:11:53.654Z","updated_at":"2025-08-31T14:34:57.076Z","avatar_url":"https://github.com/kijuky.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gas-jquantsapi\n\nGoogleスプレッドシートからJ-Quants APIを利用します。\n\n## 使い方\n\nGoogleスプレッドシートの「拡張機能」＞「Apps Script」からスクリプトエディタを起動します。\n\n「ライブラリ」に `1fQcntI2lJBbiqfz1IaXLNOuJ8Z3IUuD5xiTsqfBzdJZMdcCMSTPJrsoX` を追加します。\n\n「プロジェクトの設定」から「スクリプトプロパティを編集」で、次の情報を設定します。\n\n- `JQUANTSAPI_MAILADDRESS`: メールアドレス\n- `JQUANTSAPI_PASSWORD`: パスワード\n\n「エディタ」をひらき、次のコードを入力します。\n\n```javascript\njquantsapi.setProperties(PropertiesService.getScriptProperties());\n\nfunction jquants_company_name(code ,date) {\n  return jquantsapi.listed_info(code, date).CompanyName;\n}\n```\n\nGoogleスプレッドシートのセルに次のように入力します。\n\n```\n=jquants_company_name(2789)\n```\n\n指定したコード（2789）の企業名が表示されます。\n\n## テスト\n\n```shell\ncd library\ndeno test test*.js\n```\n\n## 参考\n\n- [J-Quants](https://jpx-jquants.com/)\n- [J-Quants API リファレンス](https://jpx.gitbook.io/j-quants-ja/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkijuky%2Fgas-jquantsapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkijuky%2Fgas-jquantsapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkijuky%2Fgas-jquantsapi/lists"}