{"id":27298619,"url":"https://github.com/ranjithkris/clanjw","last_synced_at":"2026-04-19T03:01:52.733Z","repository":{"id":164009335,"uuid":"250627840","full_name":"ranjithkris/clanJW","owner":"ranjithkris","description":"A Java Wrapper to access the Clash of Clans game related data using the REST API provided by the Supercell.","archived":false,"fork":false,"pushed_at":"2021-10-19T20:16:42.000Z","size":486,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-31T06:02:52.311Z","etag":null,"topics":["clash","clash-of-clans","clashapi","clashofclans","wrapper-api"],"latest_commit_sha":null,"homepage":"https://ranjithmasthikatte.github.io/clanJW/","language":"Java","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/ranjithkris.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,"zenodo":null}},"created_at":"2020-03-27T19:32:26.000Z","updated_at":"2021-10-20T09:40:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"e99255e7-5a76-4b7d-ac24-0da71780a1fa","html_url":"https://github.com/ranjithkris/clanJW","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ranjithkris/clanJW","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranjithkris%2FclanJW","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranjithkris%2FclanJW/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranjithkris%2FclanJW/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranjithkris%2FclanJW/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ranjithkris","download_url":"https://codeload.github.com/ranjithkris/clanJW/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranjithkris%2FclanJW/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31992822,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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":["clash","clash-of-clans","clashapi","clashofclans","wrapper-api"],"created_at":"2025-04-12T00:37:16.373Z","updated_at":"2026-04-19T03:01:52.698Z","avatar_url":"https://github.com/ranjithkris.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What is clanJW?\n[`clanJW`](https://ranjithmasthikatte.github.io/clanJW/) \nis a Java Wrapper to access Clash of Clans game related data using the REST API \nprovided by the Supercell (https://developer.clashofclans.com/).\n\n# How to use clanJW?\nFirst, download the jar file from the \n[`Releases`](https://github.com/ranjithmasthikatte/clanJW/releases)\nand add the clanJW jar file to the your project's Build Path. \n\nTo access a Clash of Clans server, JSON Web Token is required. To get the JSON Web Token\nand to know about the Clash of Clans API see (https://developer.clashofclans.com/)\n\nTo access the information related to a player, create a \n`COCPlayers` object and use this object to access any \ninformation related to a single player. To know the methods and fields see \n[`clanJW`](https://ranjithmasthikatte.github.io/clanJW/)\n\n# Example\n```.java\nprivate static final String JWTOKEN = \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiIsImtpZCI6IjI4YTMxOGY3LTAwMDAtodk6ut03ZmExLTJjNzQzM2M2Y2NhNSJ9.eyJpc3MiOiJzdXBlcmNlbGwiLCJhdWQiOiJzdXBlcmNlbGw6Z2FtZWFwaSIsImp0aSI6IjliZDMwZmUyLTFiYTQtNGU2MC05MGQzLTMzYjg1OWRlOTI1NCIsImlhdCI6MTU4NTc3ODQ1NSwiufjgIjoiZGV2ZWxvcGVyLzc5Njc2MDRiLTJiNGEtNzE2Yy04Mzg5LTZkM2M3ZGU5MGQxZCIsInNjb3BlcyI6WyJjbGFzaCJdLCJsaW1pdHMiOlt7InRpZXIiOiJkZXZlbG9wZXIvc2lsdmVyIiwidHlwZSI6InRocm90dGxpngjfhSx7ImNpZHJzIjpbIjE5NC45NS4yLjI0NCJdLCJ0eXBlIjoiY2xpZW50In1dfQ.rK5nmh6e7uiv3UxsSnnxvEt-vixfg9JsHTrsJpAWjt2pUo4kULF5Oervh-nWlNDrEmEE_loZYBQf_vfQwmu-VA\";\nprivate static final String PLAYER_TAG = \"#Y989RF7Z\";\n\nCOCPlayers player1 = new COCPlayers(JWTOKEN, PLAYER_TAG);\n\nSystem.out.println(player1.getPlayerClanName());\nSystem.out.println(player1.getPlayerClanLargeBadgeUrl());\nSystem.out.println(player1.getPlayerHeroName(Heroes.ARCHER_QUEEN));\nSystem.out.println(player1.getPlayerName());\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Franjithkris%2Fclanjw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Franjithkris%2Fclanjw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Franjithkris%2Fclanjw/lists"}