{"id":18928137,"url":"https://github.com/hearthsim/hearthstonejson-client","last_synced_at":"2025-10-07T11:06:49.203Z","repository":{"id":46030100,"uuid":"66197409","full_name":"HearthSim/hearthstonejson-client","owner":"HearthSim","description":"📖 HearthstoneJSON client for browsers and Node.","archived":false,"fork":false,"pushed_at":"2023-08-29T11:50:15.000Z","size":247,"stargazers_count":8,"open_issues_count":7,"forks_count":3,"subscribers_count":11,"default_branch":"main","last_synced_at":"2024-09-18T01:12:53.539Z","etag":null,"topics":["hearthstone","hearthstonejson"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/hearthstonejson-client","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HearthSim.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2016-08-21T12:20:58.000Z","updated_at":"2024-08-23T14:48:38.000Z","dependencies_parsed_at":"2024-04-09T18:55:20.293Z","dependency_job_id":"b9e8c086-b42e-4ffd-af1f-9b4f128f0856","html_url":"https://github.com/HearthSim/hearthstonejson-client","commit_stats":null,"previous_names":[],"tags_count":46,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HearthSim%2Fhearthstonejson-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HearthSim%2Fhearthstonejson-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HearthSim%2Fhearthstonejson-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HearthSim%2Fhearthstonejson-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HearthSim","download_url":"https://codeload.github.com/HearthSim/hearthstonejson-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223674572,"owners_count":17183897,"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":["hearthstone","hearthstonejson"],"created_at":"2024-11-08T11:23:06.477Z","updated_at":"2025-10-07T11:06:44.165Z","avatar_url":"https://github.com/HearthSim.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HearthstoneJSON Client\n[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/HearthSim/hearthstonejson-client/ci.yml?branch=main)](https://github.com/HearthSim/npm-hearthstonejson-client/actions/workflows/ci.yml)\n[![npm](https://img.shields.io/npm/v/hearthstonejson-client.svg)](http://npmjs.com/package/hearthstonejson-client)\n\nFetches Hearthstone card data from [HearthstoneJSON](https://hearthstonejson.com/).\n\n\n## Install\n\nInstall the package from npm using your favourite package manager:\n\n```\n$ yarn add hearthstonejson-client\n```\n\nIn order to use this package in a browser you'll need something like Webpack or Browserify.\n\n\n## Examples\n\n```javascript\nimport HearthstoneJSON from \"hearthstonejson-client\";\n\nvar hsjson = new HearthstoneJSON();\n\n// get the latest data\nhsjson.getLatest().then(cards =\u003e {\n  console.log(cards);\n});\n\n// specify a language\nhsjson.getLatest(\"deDE\").then(cards =\u003e {/*...*/});\n\n// specify a certain Hearthstone build number\nhsjson.get(54613).then(cards =\u003e {/*...*/});\n```\n\n\n## Typings\n\nTypescript typings are included as `index.d.ts` and should automatically be picked up by Typescript.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhearthsim%2Fhearthstonejson-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhearthsim%2Fhearthstonejson-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhearthsim%2Fhearthstonejson-client/lists"}