{
  "_id": "6a4938214148f8bcff34ed0d",
  "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-07-04 16:39:43 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>",
  "_user": "christopherkenny",
  "_type": "src",
  "_file": "clash_0.0.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/bbeadf74cfdb1143ac57848e5c8af3c095852095a2b585a498effed7d58c5ceb",
  "_filesize": 175841,
  "_sha256": "bbeadf74cfdb1143ac57848e5c8af3c095852095a2b585a498effed7d58c5ceb",
  "_expires": "2026-10-12T16:43:12.000Z",
  "_created": "2026-07-04T16:39:43.000Z",
  "_published": "2026-07-04T16:43:13.804Z",
  "_jobs": [
    {
      "job": 85148959804,
      "time": 134,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8083517542"
    },
    {
      "job": 85148959832,
      "time": 175,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8083522197"
    },
    {
      "job": 85148959813,
      "time": 65,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8083509086"
    },
    {
      "job": 85148959814,
      "time": 75,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8083510311"
    },
    {
      "job": 85148782646,
      "time": 157,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8083500617"
    },
    {
      "job": 85148959839,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8083514037"
    },
    {
      "job": 85148959844,
      "time": 77,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8083510913"
    },
    {
      "job": 85148959831,
      "time": 77,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8083510458"
    },
    {
      "job": 85148959827,
      "time": 65,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8083508961"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28712694257",
  "_status": "success",
  "_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
  },
  "_distro": "resolute",
  "_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",
    "followers": 149,
    "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.1",
  "_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",
    "LICENSE",
    "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-07-04T16:42:04.000Z",
      "distro": "resolute",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "https://r2.ropensci.org/fecfbd5b5e1a933e2f6a2e435ba6b4db75205e9c544b54822ea4d9937e4b9f0f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28712694257"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-07-04T16:42:41.000Z",
      "distro": "resolute",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "https://r2.ropensci.org/fbe9bce48314f928c5e1ea8a77f7dbf79856c3574ef835e7244097f30f60ab75",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28712694257"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-07-04T16:40:58.000Z",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "https://r2.ropensci.org/00b257f1570076f7c7cf79cf2b1e3a9a1ff5d5b6e5f2ea876438f8326c2b6958",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28712694257"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-07-04T16:41:06.000Z",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "https://r2.ropensci.org/4b8462aae81397de0a72682f282b4994f201053f6523a88a79cda466b37bd9c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28712694257"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.1",
      "date": "2026-07-04T16:41:45.000Z",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "https://r2.ropensci.org/943086823accd157c5c9fa00ac52250082c6d874fbfdfb7c1bd510f706150c84",
      "status": "success",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28712694257"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-07-04T16:41:04.000Z",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "https://r2.ropensci.org/b9ec3250144be60c9378dd8fe5b58d8806e2851766e99daf5c5c4e487510bbe9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28712694257"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-07-04T16:40:58.000Z",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "https://r2.ropensci.org/8569c1ab570a9c2f1b2b85290b8614817c7e51e91369a7df87107910c907164c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28712694257"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-07-04T16:40:48.000Z",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "https://r2.ropensci.org/b219979d902e1c27553237dced2278b0a9fe794da1fe63f4947ad75d14af69b0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28712694257"
    }
  ]
}