{"id":23739737,"url":"https://github.com/p1atdev/openbd","last_synced_at":"2026-05-05T06:36:08.382Z","repository":{"id":62422728,"uuid":"498550029","full_name":"p1atdev/openbd","owner":"p1atdev","description":"Deno 用 OpenBD クライアント","archived":false,"fork":false,"pushed_at":"2022-06-01T04:04:12.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-31T11:50:27.797Z","etag":null,"topics":["deno","denoland","openbd"],"latest_commit_sha":null,"homepage":"https://deno.land/x/openbd","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-06-01T01:22:23.000Z","updated_at":"2022-06-01T04:06:01.000Z","dependencies_parsed_at":"2022-11-01T17:33:32.539Z","dependency_job_id":null,"html_url":"https://github.com/p1atdev/openbd","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p1atdev%2Fopenbd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p1atdev%2Fopenbd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p1atdev%2Fopenbd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p1atdev%2Fopenbd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/p1atdev","download_url":"https://codeload.github.com/p1atdev/openbd/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239880826,"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":["deno","denoland","openbd"],"created_at":"2024-12-31T09:39:03.581Z","updated_at":"2026-03-02T15:30:15.116Z","avatar_url":"https://github.com/p1atdev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenBD Client for Deno\n\n![Deno JS](https://img.shields.io/badge/deno%20js-000000?style=for-the-badge\u0026logo=deno\u0026logoColor=white)\n![Testing](https://github.com/p1atdev/openbd/actions/workflows/test.yml/badge.svg)\n\nOpenBD 書籍情報 API の Deno クライアント\n\n## 使い方\n\n```ts\nimport { OpenBDClient } from \"https://deno.land/x/openbd@v0.1.0/mod.ts\";\n\nconst client = new OpenBDClient();\n// または、\n// const client = createOpenBDClient()\n// のどちらでも可。正直どっちがいいかわからないから両方置いてある。\n\n// ISBN を指定します。配列で複数渡すことも可能です\nconst res = await client.searchBookRaw(\"9784049125207\"); // キノの旅XXII the Beautiful World\n\nconsole.log(res);\n```\n\n出力\n\n```\n[\n  {\n    onix: {\n      RecordReference: \"9784049125207\",\n      NotificationType: \"03\",\n      ProductIdentifier: { ProductIDType: \"15\", IDValue: \"9784049125207\" },\n      DescriptiveDetail: {\n        ProductComposition: \"00\",\n        ProductForm: \"BA\",\n        ProductFormDetail: \"B111\",\n        Collection: [Object],\n        TitleDetail: [Object],\n        Contributor: [Array],\n        Language: [Array],\n        Extent: [Array],\n        Subject: [Array],\n        Audience: [Array]\n      },\n      CollateralDetail: { TextContent: [Array], SupportingResource: [Array] },\n      PublishingDetail: { Imprint: [Object], Publisher: [Object], PublishingDate: [Array] },\n      ProductSupply: { MarketPublishingDetail: [Object], SupplyDetail: [Object] }\n    },\n    hanmoto: {\n      datemodified: \"2019-07-10 10:15:58\",\n      datecreated: \"2019-06-08 10:15:02\",\n      datekoukai: \"2019-06-08\"\n    },\n    summary: {\n      isbn: \"9784049125207\",\n      title: \"キノの旅XXII the Beautiful World\",\n      volume: \"\",\n      series: \"\",\n      publisher: \"ＫＡＤＯＫＡＷＡ\",\n      pubdate: \"20190710\",\n      cover: \"https://cover.openbd.jp/9784049125207.jpg\",\n      author: \"時雨沢恵一／著 黒星紅白／イラスト\"\n    }\n  }\n]\n```\n\nレスポンスの方定義はありますが、現在 (v0.1.0) 時点では `searchBookRaw`\nでレスポンスを取得することしかしていないので、若干扱いにくい部分があるかもしれないです。 ローマ字のキーや、たまに存在しないキーがあったり...\n今後対応していきます。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp1atdev%2Fopenbd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fp1atdev%2Fopenbd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp1atdev%2Fopenbd/lists"}