{
  "_id": "6adf41e3a91e011cd19596c9",
  "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-10-26 12:02:16 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/afc1784c5db71901e083b6eff2bc277d6d9adb8a5583bf69812c203077afb5e2",
  "_filesize": 172913,
  "_sha256": "afc1784c5db71901e083b6eff2bc277d6d9adb8a5583bf69812c203077afb5e2",
  "_expires": "2027-02-03T12:04:49.000Z",
  "_created": "2026-10-26T12:02:16.000Z",
  "_published": "2026-10-26T12:04:51.586Z",
  "_upstream": "https://github.com/christopherkenny/clash",
  "_status": "success",
  "_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
  },
  "_jobs": [
    {
      "job": 121560549627,
      "time": 101,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12648896473"
    },
    {
      "job": 121560549599,
      "time": 109,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12648676774"
    },
    {
      "job": 121560550132,
      "time": 94,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12648661536"
    },
    {
      "job": 121560549984,
      "time": 113,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12647449913"
    },
    {
      "job": 121559292685,
      "time": 177,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12648796536"
    },
    {
      "job": 121560549424,
      "time": 84,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12647748182"
    },
    {
      "job": 121560549575,
      "time": 66,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12647559727"
    },
    {
      "job": 121560549639,
      "time": 58,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12648376873"
    },
    {
      "job": 121560549695,
      "time": 63,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12648063328"
    }
  ],
  "_buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/40319088740",
  "_commit": {
    "id": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
    "author": "Christopher T. Kenny <ctk44@cornell.edu>",
    "committer": "Christopher T. Kenny <ctk44@cornell.edu>",
    "message": "use ctktemplate pkgdown theme",
    "time": 1777652090
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": 1,
  "_contributors": [
    {
      "user": "christopherkenny",
      "count": 26,
      "uuid": 28026893
    }
  ],
  "_userbio": {
    "uuid": 28026893,
    "type": "user",
    "name": "Christopher T. Kenny",
    "followers": 158,
    "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": 4,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/clash.html",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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",
    "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-10-26T12:04:05.000Z",
      "distro": "resolute",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "https://r2.ropensci.org/448287533a489d0eca55b0e014f8daa2704e7ea9c4c93c1a186f9a08f1ad4a75",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/40319088740"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-10-26T12:04:09.000Z",
      "distro": "resolute",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "https://r2.ropensci.org/4826025f5c333ab637a688250decb7d3ee4e2a2a8337462755ba535386ce9c4d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/40319088740"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-10-26T12:03:56.000Z",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "https://r2.ropensci.org/9b59881fbd18e0cbd173291ebe150578d3a9c33f375b5f4fb512b0f5fbca642e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/40319088740"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-10-26T12:04:12.000Z",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "https://r2.ropensci.org/952bc25259e170953eedf503424f709f79f4b93e750242418a5f312133e34abd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/40319088740"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.1",
      "date": "2026-10-26T12:03:57.000Z",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "https://r2.ropensci.org/89be9dac759966ce131d182803a1fbcbb6f471739262a64cd6e267430521d337",
      "status": "success",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/40319088740"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-10-26T12:03:22.000Z",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "https://r2.ropensci.org/3728c765e890efb23fba86c4bce3f8b2738888a0a9267f97602c8550d9fe5a25",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/40319088740"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-10-26T12:03:19.000Z",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "https://r2.ropensci.org/6d770050e791293cdc9ae9d3d0c7a6613d322ffb5efd5f00eafc278dd550f21f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/40319088740"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-10-26T12:03:20.000Z",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "https://r2.ropensci.org/424287786ea29e9784a0dab3c3f38d87241161a08e3d62d733a6488a9d011460",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/40319088740"
    }
  ]
}