{
  "_id": "6a1bd6c51d7bb097a0a15fc9",
  "Package": "clash",
  "Title": "Access the Clash of Clans API",
  "Version": "0.0.1",
  "Authors@R": "c( \nperson(\"Christopher T.\", \"Kenny\",\nemail = \"christopherkenny@fas.harvard.edu\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-9386-6860\")))",
  "Description": "Interfaces with the official API for Clash of Clans\n<https://developer.clashofclans.com/#/>. Provides tools to work\nwith players, clans, wars, raids, and other game events. All\noutputs are provided in a tidy format, where each player, clan,\nor attack is an observation.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "Config/testthat/edition": "3",
  "Config/Needs/website": "christopherkenny/ctktemplate",
  "URL": "https://github.com/christopherkenny/clash,\nhttp://christophertkenny.com/clash/",
  "BugReports": "https://github.com/christopherkenny/clash/issues",
  "Config/pak/sysreqs": "libicu-dev libssl-dev",
  "Repository": "https://christopherkenny.r-universe.dev",
  "Date/Publication": "2026-05-01 16:14:50 UTC",
  "RemoteUrl": "https://github.com/christopherkenny/clash",
  "RemoteRef": "HEAD",
  "RemoteSha": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-31 06:18:47 UTC",
    "User": "root"
  },
  "Author": "Christopher T. Kenny [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-9386-6860>)",
  "Maintainer": "Christopher T. Kenny <christopherkenny@fas.harvard.edu>",
  "MD5sum": "b7d2c4eb854770a5fde41049dfd927be",
  "_user": "christopherkenny",
  "_type": "src",
  "_file": "clash_0.0.1.tar.gz",
  "_fileid": "b6faa6cc05b36dc6136522ab691f61e54f334ab8f8b6241234f0fa7fa6d3e257",
  "_filesize": 173203,
  "_sha256": "b6faa6cc05b36dc6136522ab691f61e54f334ab8f8b6241234f0fa7fa6d3e257",
  "_created": "2026-05-31T06:18:47.000Z",
  "_published": "2026-05-31T06:35:49.475Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78705031923,
      "time": 119,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7314375714"
    },
    {
      "job": 78705031921,
      "time": 118,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314375576"
    },
    {
      "job": 78705031930,
      "time": 95,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7314467976"
    },
    {
      "job": 78705031933,
      "time": 83,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314468299"
    },
    {
      "job": 78704880008,
      "time": 164,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314363379"
    },
    {
      "job": 78705031917,
      "time": 100,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314373812"
    },
    {
      "job": 78705031932,
      "time": 65,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7314370180"
    },
    {
      "job": 78705031927,
      "time": 77,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7314371434"
    },
    {
      "job": 78705031926,
      "time": 63,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314369950"
    }
  ],
  "_buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/26705147583",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/christopherkenny/clash",
  "_commit": {
    "id": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
    "author": "Christopher T. Kenny <ctk44@cornell.edu>",
    "committer": "Christopher T. Kenny <ctk44@cornell.edu>",
    "message": "use ctktemplate pkgdown theme",
    "time": 1777652090
  },
  "_maintainer": {
    "name": "Christopher T. Kenny",
    "email": "christopherkenny@fas.harvard.edu",
    "login": "christopherkenny",
    "bluesky": "@chriskenny.bsky.social",
    "orcid": "0000-0002-9386-6860",
    "twitter": "@chris_t_kenny",
    "description": "Postdoc @princeton-ddss.\nRedistricting and rstats.  \n\nHarvard Government PhD '25.   \nCornell '19.",
    "uuid": 28026893
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "httptest2",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "christopherkenny",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-18",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "christopherkenny",
      "count": 26,
      "uuid": 28026893
    }
  ],
  "_userbio": {
    "uuid": 28026893,
    "type": "user",
    "name": "Christopher T. Kenny",
    "description": "Postdoc @princeton-ddss.\r\nRedistricting and rstats.  \r\n\r\nHarvard Government PhD '25.   \r\nCornell '19."
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/clash"
  },
  "_devurl": "https://github.com/christopherkenny/clash",
  "_pkgdown": "http://christophertkenny.com/clash/",
  "_searchresults": 3,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/clash.html",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "coc_get_builderbase_league",
    "coc_get_builderbase_leagues",
    "coc_get_capital_league",
    "coc_get_capital_leagues",
    "coc_get_capital_raid_seasons",
    "coc_get_clan",
    "coc_get_clan_labels",
    "coc_get_clan_members",
    "coc_get_clan_search",
    "coc_get_goldpass",
    "coc_get_key",
    "coc_get_league",
    "coc_get_league_seaons",
    "coc_get_leagues",
    "coc_get_location",
    "coc_get_locations",
    "coc_get_player",
    "coc_get_player_labels",
    "coc_get_ranking_builderbase_clans",
    "coc_get_ranking_builderbase_players",
    "coc_get_ranking_capitals",
    "coc_get_ranking_clans",
    "coc_get_ranking_players",
    "coc_get_ranking_versus_clans",
    "coc_get_ranking_versus_players",
    "coc_get_war_current",
    "coc_get_war_league",
    "coc_get_war_leagues",
    "coc_get_war_log",
    "coc_has_key",
    "coc_set_key",
    "get_clash_key",
    "has_clash_key",
    "set_clash_key"
  ],
  "_help": [
    {
      "page": "coc_get_builderbase_league",
      "title": "Get information for one Builder Base league",
      "concept": [
        "league"
      ],
      "topics": [
        "coc_get_builderbase_league"
      ]
    },
    {
      "page": "coc_get_builderbase_leagues",
      "title": "Get Builder Base Leagues",
      "concept": [
        "league"
      ],
      "topics": [
        "coc_get_builderbase_leagues"
      ]
    },
    {
      "page": "coc_get_capital_league",
      "title": "Get information for one capital league",
      "concept": [
        "league"
      ],
      "topics": [
        "coc_get_capital_league"
      ]
    },
    {
      "page": "coc_get_capital_leagues",
      "title": "Get Capital Leagues",
      "concept": [
        "league"
      ],
      "topics": [
        "coc_get_capital_leagues"
      ]
    },
    {
      "page": "coc_get_capital_raid_seasons",
      "title": "Get Capital Raid Seasons",
      "concept": [
        "clan"
      ],
      "topics": [
        "coc_get_capital_raid_seasons"
      ]
    },
    {
      "page": "coc_get_clan",
      "title": "Get a clan",
      "concept": [
        "clan"
      ],
      "topics": [
        "coc_get_clan"
      ]
    },
    {
      "page": "coc_get_clan_labels",
      "title": "Get clan labels",
      "concept": [
        "labels"
      ],
      "topics": [
        "coc_get_clan_labels"
      ]
    },
    {
      "page": "coc_get_clan_members",
      "title": "Get current clan members",
      "concept": [
        "clan"
      ],
      "topics": [
        "coc_get_clan_members"
      ]
    },
    {
      "page": "coc_get_clan_search",
      "title": "Search Clans",
      "concept": [
        "clan"
      ],
      "topics": [
        "coc_get_clan_search"
      ]
    },
    {
      "page": "coc_get_goldpass",
      "title": "Get Gold Pass Season Information",
      "concept": [
        "goldpass"
      ],
      "topics": [
        "coc_get_goldpass"
      ]
    },
    {
      "page": "coc_get_league",
      "title": "Get information for one league",
      "concept": [
        "league"
      ],
      "topics": [
        "coc_get_league"
      ]
    },
    {
      "page": "coc_get_league_seaons",
      "title": "Get seasons for one league",
      "concept": [
        "league"
      ],
      "topics": [
        "coc_get_league_seaons"
      ]
    },
    {
      "page": "coc_get_leagues",
      "title": "Get Leagues",
      "concept": [
        "league"
      ],
      "topics": [
        "coc_get_leagues"
      ]
    },
    {
      "page": "coc_get_location",
      "title": "Get information for one location",
      "concept": [
        "locations"
      ],
      "topics": [
        "coc_get_location"
      ]
    },
    {
      "page": "coc_get_locations",
      "title": "Get Locations",
      "concept": [
        "locations"
      ],
      "topics": [
        "coc_get_locations"
      ]
    },
    {
      "page": "coc_get_player",
      "title": "Get a single player",
      "concept": [
        "player"
      ],
      "topics": [
        "coc_get_player"
      ]
    },
    {
      "page": "coc_get_player_labels",
      "title": "Get player labels",
      "concept": [
        "labels"
      ],
      "topics": [
        "coc_get_player_labels"
      ]
    },
    {
      "page": "coc_get_ranking_builderbase_clans",
      "title": "Get Builder Base Clan Rankings",
      "concept": [
        "locations"
      ],
      "topics": [
        "coc_get_ranking_builderbase_clans"
      ]
    },
    {
      "page": "coc_get_ranking_builderbase_players",
      "title": "Get Builder Base Player Rankings",
      "concept": [
        "locations"
      ],
      "topics": [
        "coc_get_ranking_builderbase_players"
      ]
    },
    {
      "page": "coc_get_ranking_capitals",
      "title": "Get Capitals Rankings",
      "concept": [
        "locations"
      ],
      "topics": [
        "coc_get_ranking_capitals"
      ]
    },
    {
      "page": "coc_get_ranking_clans",
      "title": "Get Clan Rankings",
      "concept": [
        "locations"
      ],
      "topics": [
        "coc_get_ranking_clans"
      ]
    },
    {
      "page": "coc_get_ranking_players",
      "title": "Get Player Rankings",
      "concept": [
        "locations"
      ],
      "topics": [
        "coc_get_ranking_players"
      ]
    },
    {
      "page": "coc_get_ranking_versus_clans",
      "title": "Get Versus Clan Rankings",
      "concept": [
        "locations"
      ],
      "topics": [
        "coc_get_ranking_versus_clans"
      ]
    },
    {
      "page": "coc_get_ranking_versus_players",
      "title": "Get Versus Player Rankings",
      "concept": [
        "locations"
      ],
      "topics": [
        "coc_get_ranking_versus_players"
      ]
    },
    {
      "page": "coc_get_war_current",
      "title": "Get current Clan War",
      "concept": [
        "clan"
      ],
      "topics": [
        "coc_get_war_current"
      ]
    },
    {
      "page": "coc_get_war_league",
      "title": "Get information for one war league",
      "concept": [
        "league"
      ],
      "topics": [
        "coc_get_war_league"
      ]
    },
    {
      "page": "coc_get_war_leagues",
      "title": "Get War Leagues",
      "concept": [
        "league"
      ],
      "topics": [
        "coc_get_war_leagues"
      ]
    },
    {
      "page": "coc_get_war_log",
      "title": "Get Clan War Log",
      "concept": [
        "clan"
      ],
      "topics": [
        "coc_get_war_log"
      ]
    },
    {
      "page": "key",
      "title": "Check or Get Clash of Clans API Key",
      "topics": [
        "coc_get_key",
        "coc_has_key",
        "get_clash_key",
        "has_clash_key",
        "key"
      ]
    },
    {
      "page": "set_clash_key",
      "title": "Add Entry to Renviron",
      "topics": [
        "coc_set_key",
        "set_clash_key"
      ]
    }
  ],
  "_pkglogo": "https://github.com/christopherkenny/clash/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/christopherkenny/clash/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "cpp11",
    "curl",
    "dplyr",
    "generics",
    "glue",
    "httr2",
    "lifecycle",
    "magrittr",
    "openssl",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rappdirs",
    "rlang",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_score": 1.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "clash",
  "_universes": [
    "christopherkenny"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-05-31T06:20:52.000Z",
      "distro": "noble",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "31b7beb455ea3bc3c442656b80c61fa3f9649ba32c3cb70d949aeaefbb914bfb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/26705147583"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-05-31T06:20:52.000Z",
      "distro": "noble",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "9afd8f14afec35e91b8e2955b086867f68a39608bb9ea37304727cd71a490d85",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/26705147583"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-05-31T06:35:13.000Z",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "c5e90831ec87ef2b349afde52bf23d34ec589630f80d1ab06010e3b44e9ea0f7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/26705147583"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-05-31T06:35:20.000Z",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "29c55997b2700a3a5cfd1a7f8518a4ced075734505de46b03f286bd5bf28e930",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/26705147583"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.1",
      "date": "2026-05-31T06:20:44.000Z",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "8c2fe25be4f6700745123c5df101ea6265aa9b8f68034f15bef2919672fff1c1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/26705147583"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-05-31T06:19:56.000Z",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "97060d5e53c3b4c276930a81c473cff90b5966a279127a933d9d046bbf48fafd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/26705147583"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-05-31T06:20:08.000Z",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "123647577d33d8d06e14104c98d165ac008caf6718cb34d669b7f24aa8917b9c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/26705147583"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-05-31T06:19:52.000Z",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "e26042032db4b488b7aa77e6b1d7baac34ca0c45e867f4247d9f824b054b4d3e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/26705147583"
    }
  ]
}