{"id":23739745,"url":"https://github.com/p1atdev/cinii","last_synced_at":"2026-03-02T15:30:15.863Z","repository":{"id":56804469,"uuid":"525692839","full_name":"p1atdev/cinii","owner":"p1atdev","description":"CiNii Research API Client for Deno","archived":false,"fork":false,"pushed_at":"2022-08-17T13:19:25.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-31T10:17:35.396Z","etag":null,"topics":["api-client","cinii","deno"],"latest_commit_sha":null,"homepage":"https://deno.land/x/cinii","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/p1atdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-17T07:55:55.000Z","updated_at":"2022-08-17T13:20:57.000Z","dependencies_parsed_at":"2022-08-17T08:30:37.107Z","dependency_job_id":null,"html_url":"https://github.com/p1atdev/cinii","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":"p1atdev/deno_template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p1atdev%2Fcinii","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p1atdev%2Fcinii/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p1atdev%2Fcinii/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p1atdev%2Fcinii/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/p1atdev","download_url":"https://codeload.github.com/p1atdev/cinii/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239880837,"owners_count":19712477,"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","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":["api-client","cinii","deno"],"created_at":"2024-12-31T09:39:05.065Z","updated_at":"2026-03-02T15:30:15.801Z","avatar_url":"https://github.com/p1atdev.png","language":"TypeScript","readme":"# CiNii Research API Client for Deno\n\n![deno compatibility](https://shield.deno.dev/deno/^1.24)\n[![deno module](https://shield.deno.dev/x/cinii)](https://deno.land/x/cinii])\n![Test](https://github.com/p1atdev/cinii/actions/workflows/test.yaml/badge.svg)\n\n# Usage\n\n- search from all types\n\n```ts\nimport { CiNiiClient } from \"https://deno.land/x/cinii/mod.ts\";\n\nconst client = new CiNiiClient({ appId: \"your_app_id\" }); // or, if not specified, refer to the environment variable CINII_APP_ID\n\nconst res = await client.all({\n  q: \"QUIC\",\n  count: 100,\n});\n\nassertEquals(res.items.length, 100);\n\nconst titles = res.items.map((i) =\u003e i.title);\n\nassertArrayIncludes(titles, [\n  \"Improving the performance of HTTP/3 communications when communicating simultaneously which uses CUBIC TCP and TCP BBR\",\n]);\n```\n\n- search from only books\n\n```ts\nconst client = new CiNiiClient({ appId });\n\nconst res = await client.books({\n  q: \"Python\",\n  count: 200,\n});\n\nassert(res.items.every((i) =\u003e i[\"dc:type\"] === \"Book\"));\n```\n\n- supports all query options\n\n```ts\nimport { datetime } from \"https://deno.land/x/ptera@v1.0.2/mod.ts\"; // Date library\n\nconst client = new CiNiiClient({ appId });\nconst res = await client.all({\n  q: \"拾遺和歌集\",\n  count: 10,\n  dataSourceType: \"KAKEN\",\n  from: datetime({\n    year: 2022,\n    month: 4,\n  }),\n});\n\nassertExists(res.items[0].title);\n```\n\n# Query Reference\n\n**[クエリ仕様 - CiNii Research の OpenSearch](https://support.nii.ac.jp/ja/cir/r_opensearch#query)**\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp1atdev%2Fcinii","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fp1atdev%2Fcinii","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp1atdev%2Fcinii/lists"}