{"id":15893449,"url":"https://github.com/multimeric/runeterradatadragon","last_synced_at":"2026-05-01T09:31:49.913Z","repository":{"id":85377373,"uuid":"455463212","full_name":"multimeric/RuneterraDataDragon","owner":"multimeric","description":"NodeJS interface for accessing Legends of Runeterra Game Data (card data, images, metadata etc)","archived":false,"fork":false,"pushed_at":"2023-03-24T11:49:12.000Z","size":110,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-02T17:51:30.629Z","etag":null,"topics":["api","legends-of-runeterra","nodejs","runeterra"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/multimeric.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":"2022-02-04T07:50:46.000Z","updated_at":"2022-02-08T15:52:57.000Z","dependencies_parsed_at":"2023-03-06T19:00:49.724Z","dependency_job_id":null,"html_url":"https://github.com/multimeric/RuneterraDataDragon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/multimeric/RuneterraDataDragon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multimeric%2FRuneterraDataDragon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multimeric%2FRuneterraDataDragon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multimeric%2FRuneterraDataDragon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multimeric%2FRuneterraDataDragon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/multimeric","download_url":"https://codeload.github.com/multimeric/RuneterraDataDragon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multimeric%2FRuneterraDataDragon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32492127,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["api","legends-of-runeterra","nodejs","runeterra"],"created_at":"2024-10-06T08:10:39.508Z","updated_at":"2026-05-01T09:31:49.891Z","avatar_url":"https://github.com/multimeric.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RuneterraDataDragon\n\nThis is a small package for providing a JavaScript/TypeScript API for the [Runeterra Data Dragon](https://developer.riotgames.com/docs/lor), which is a static database of Runeterra card and image data.\nPlease note that this package only works in node.js environments, and will not work in the browser (sorry, I tried!)\n\n## Features\n\n* Detailed TypeScript types\n* Caching layer to ensure you don't download duplicate files\n* Async API\n* Support for different locales and data versions\n* Automatically tested\n\n## Installation\n\n```bash\nnpm install lor-data-dragon\n```\n\n## Usage\n\n```typescript\nimport * as rune from \"lor-data-dragon\";\n\n// Instantiate a client\nconst dd = new rune.DataDragon({\n    cacheDir: \"./testCache\"\n});\n\n// Access to the per-set data\nconst setBundle = await dd.getLiteSetBundle(rune.Set.BeyondTheBandlewood, rune.Locale.English);\nconst cards: rune.Card[] = await setBundle.getCards();\nconst cardImage: Buffer = await setBundle.getCardImage(cards[0].cardCode)\n\n// Access to the global game data\nconst bundle = await dd.getCoreBundle(rune.Locale.English);\nconst global: rune.GlobalData = await bundle.getGlobalData();\nconst regionImage: Buffer = await bundle.getRegionImage(\"bilgewater\");\n```\n\nAdditional methods and parameters are fully documented, and the use of TypeScript is strongly recommended to autocomplete all of these.\n\n## Changelog\n\n### 2.0.0\n\n* Export renaming. You are now encouraged to `import * as rune from \"lor-data-dragon\";` namespace the exports sensibly\n    * `LorDataDragon` renamed to `DataDragon`\n    * `RuneterraSet` renamed to `Set`\n* Reworked interface:\n  * The `DataDragon` now returns wrapper objects which themselves can be used to fetch card/image data\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmultimeric%2Fruneterradatadragon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmultimeric%2Fruneterradatadragon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmultimeric%2Fruneterradatadragon/lists"}