{
  "_id": "6aca5ca9fe5cc25786e87d0c",
  "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-10 14:47:40 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/01f08bf92394eb4aae6ae59b69109e1a30b4518d89319993c17e2f4f9c112704",
  "_filesize": 172920,
  "_sha256": "01f08bf92394eb4aae6ae59b69109e1a30b4518d89319993c17e2f4f9c112704",
  "_expires": "2027-01-18T15:41:27.000Z",
  "_created": "2026-10-10T14:47:40.000Z",
  "_published": "2026-10-10T15:41:29.586Z",
  "_buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/38060846257",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114239206895,
      "time": 94,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11673206915"
    },
    {
      "job": 114239206849,
      "time": 101,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11672878868"
    },
    {
      "job": 114239206896,
      "time": 64,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11674995816"
    },
    {
      "job": 114239206865,
      "time": 101,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11674570640"
    },
    {
      "job": 114238700409,
      "time": 154,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11672419790"
    },
    {
      "job": 114239206854,
      "time": 89,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11672834526"
    },
    {
      "job": 114239207004,
      "time": 53,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11672754480"
    },
    {
      "job": 114239206958,
      "time": 54,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11672619750"
    },
    {
      "job": 114239206851,
      "time": 53,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11672524758"
    }
  ],
  "_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": 1,
  "_contributors": [
    {
      "user": "christopherkenny",
      "count": 26,
      "uuid": 28026893
    }
  ],
  "_userbio": {
    "uuid": 28026893,
    "type": "user",
    "name": "Christopher T. Kenny",
    "followers": 157,
    "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-10T14:49:23.000Z",
      "distro": "resolute",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "https://r2.ropensci.org/bea8fbc9757e9b2ac3319fe6951b599ace0fa90ffdcc3eb5d1adccc2a5a62a04",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/38060846257"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-10-10T14:49:30.000Z",
      "distro": "resolute",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "https://r2.ropensci.org/1fe90227cc7e4ebee5cb3edfb212e0d12ad80e131bbe414f21e4208039233cae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/38060846257"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-10-10T15:41:00.000Z",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "https://r2.ropensci.org/cdb9f8b62c780e0ea3c23cc0c32f6f8a0b9f684b653781cfaecb674dcc404e0d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/38060846257"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-10-10T15:37:46.000Z",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "https://r2.ropensci.org/966d66e717cd06420534f30192510fd85300fcee48af449f79d66639a7a4f765",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/38060846257"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.1",
      "date": "2026-10-10T14:49:28.000Z",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "https://r2.ropensci.org/89b548bb803dc701bb25d235488262b74c9d28510902cf82359c9e0e823c81ee",
      "status": "success",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/38060846257"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-10-10T14:48:36.000Z",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "https://r2.ropensci.org/179f04286646403beda51b9007d0211a16e32408e848593cc6c8217ff72a529d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/38060846257"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-10-10T14:48:37.000Z",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "https://r2.ropensci.org/f0ec6366ecc0920cb8d4add26be020a9bfe175a970976b8b1b6dfd91b9faabbe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/38060846257"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-10-10T14:48:41.000Z",
      "commit": "2e73092574edcc2211a2f4872cea7fa64b7e8550",
      "fileid": "https://r2.ropensci.org/7b3b9b871d5b11c7bfb0f1d2b5a68fe181181ba84b0d3ac04c8a2b1947f0ba23",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/38060846257"
    }
  ]
}