{"id":23652237,"url":"https://github.com/hi-ray/lol-champions","last_synced_at":"2025-09-01T02:32:15.838Z","repository":{"id":44075492,"uuid":"206674380","full_name":"Hi-Ray/lol-champions","owner":"Hi-Ray","description":"Generate simple id and champion JSON files for league of legends champions","archived":false,"fork":false,"pushed_at":"2022-12-10T01:13:55.000Z","size":77,"stargazers_count":7,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T07:41:21.066Z","etag":null,"topics":["champions","ids","json","league-of-legends","lol-champions"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Hi-Ray.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":"2019-09-05T23:32:18.000Z","updated_at":"2023-04-02T14:47:55.000Z","dependencies_parsed_at":"2023-01-25T18:50:17.202Z","dependency_job_id":null,"html_url":"https://github.com/Hi-Ray/lol-champions","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Hi-Ray/lol-champions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hi-Ray%2Flol-champions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hi-Ray%2Flol-champions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hi-Ray%2Flol-champions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hi-Ray%2Flol-champions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hi-Ray","download_url":"https://codeload.github.com/Hi-Ray/lol-champions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hi-Ray%2Flol-champions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273065039,"owners_count":25039274,"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-09-01T02:00:09.058Z","response_time":120,"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":["champions","ids","json","league-of-legends","lol-champions"],"created_at":"2024-12-28T16:52:52.097Z","updated_at":"2025-09-01T02:32:15.585Z","avatar_url":"https://github.com/Hi-Ray.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Alternative: \nAlternatively you can use: [this](http://api.hiray.me/) which serves files already generated by this small nodejs application and in the future will have more, if you have any requests ping me on the [Riot API Dev Community](https://discordapp.com/invite/riotapi) and ping me `@Ray.#8080` with the request.\n\n# lol-champions\n\nA small nodejs application which generates multiple files which contain champions ids and their respective ids for each locale,\n2 folders will be generated `champions` and `ids` which contains files such as `champions-en_gb.json` for the champions folder\nand `ids-en_gb.json` for the ids folder, the champions folder will have champion names as keys and the champion ids as values and vice versa for the id files.\n\n\nAn example for the `champions-en_gb.json` file would be:\n\n```json\n{\n  \"1\":\"Annie\",\n  \"2\":\"Olaf\",\n  \"3\":\"Galio\",\n  \"4\":\"TwistedFate\"\n}\n```\nand an example for the `ids-en_gb.json` file would be:\n\n```json\n{\n    \"Annie\":1,\n    \"Olaf\":2,\n    \"Galio\":3,\n    \"Twisted Fate\":4\n}\n```\n\nThis small app pulls data from [Community Dragon](https://www.communitydragon.org/) for information such as the champions for the current patch, so every time it is ran it generates new files or replaces the old one with more up to date ones.\n\nBoth the champions and ids folders and file names can be configured by the user on lines 38 to 41 in [champions.js](./src/champions.js)\n\n## Run\n\nTo run this app you need [nodejs](https://nodejs.org/en/).\n\nFirst clone this repo with: \n\n```git\ngit clone https://github.com/RayZz-/lol-champions.git\n```\nthen navigate to the directory then run:\n```shell script\nNPM start\n```\nfrom the directory\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhi-ray%2Flol-champions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhi-ray%2Flol-champions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhi-ray%2Flol-champions/lists"}