{"id":19487171,"url":"https://github.com/tylerlittlefield/blizz","last_synced_at":"2026-06-06T23:31:47.590Z","repository":{"id":182545087,"uuid":"162662759","full_name":"tylerlittlefield/blizz","owner":"tylerlittlefield","description":":snowflake: Minimalistic client to access Blizzard’s API in R","archived":false,"fork":false,"pushed_at":"2020-09-16T01:01:13.000Z","size":3639,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T18:48:23.901Z","etag":null,"topics":["api","blizzard","games","r","rstats"],"latest_commit_sha":null,"homepage":"https://blizz.netlify.com/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tylerlittlefield.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-12-21T03:49:08.000Z","updated_at":"2019-01-11T18:04:22.000Z","dependencies_parsed_at":"2023-07-20T12:32:01.422Z","dependency_job_id":null,"html_url":"https://github.com/tylerlittlefield/blizz","commit_stats":null,"previous_names":["tylerlittlefield/blizz"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tylerlittlefield/blizz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylerlittlefield%2Fblizz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylerlittlefield%2Fblizz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylerlittlefield%2Fblizz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylerlittlefield%2Fblizz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tylerlittlefield","download_url":"https://codeload.github.com/tylerlittlefield/blizz/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylerlittlefield%2Fblizz/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285152371,"owners_count":27123462,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-18T02:00:05.759Z","response_time":61,"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":["api","blizzard","games","r","rstats"],"created_at":"2024-11-10T20:44:21.636Z","updated_at":"2025-11-18T23:05:06.979Z","avatar_url":"https://github.com/tylerlittlefield.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n# blizz\n\n\u003c!-- badges: start --\u003e\n[![Travis build status](https://travis-ci.org/tyluRp/blizz.svg?branch=master)](https://travis-ci.org/tyluRp/blizz)\n[![AppVeyor build status](https://ci.appveyor.com/api/projects/status/github/tyluRp/blizz?branch=master\u0026svg=true)](https://ci.appveyor.com/project/tyluRp/blizz)\n[![Codecov test coverage](https://codecov.io/gh/tyluRp/blizz/branch/master/graph/badge.svg)](https://codecov.io/gh/tyluRp/blizz?branch=master)\n[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)\n\u003c!-- badges: end --\u003e\n\n```{r, echo=FALSE}\nknitr::include_graphics(\"man/figures/Nagrand_Concept_Art_Peter_Lee_1.jpg\")\n```\n\n\nMinimalistic client to access [Blizzards API](https://develop.battle.net/).\n\n## Installation\n\nYou can install from [GitHub](https://github.com/) with:\n\n``` r\n# install.packages(\"devtools\")\ndevtools::install_github(\"tyluRp/blizz\")\n```\n\n## Additional Setup\n\nYou need to create a developer account at Blizzard's [**dev portal**](https://develop.battle.net/). Once you've created an account, a client needs to be made. Creating a client will produce a **Client ID** and **Client Secret**. With these credentials you can run:\n\n```r\n# replace ID/SECRET with your own\nblizz_auth(\"ID\", \"SECRET\")\n```\n\nAfter this, you're all set. \n\nIf you want to avoid using `blizz_auth()`, you can obtain the Client ID, Secret, and Token by following the [docs](https://develop.battle.net/documentation/guides/getting-started). Then edit the `.Renviron` file manually and supply the credentials like so:\n\n```r\nBLIZZARD_CLIENT_ID='your ID'\nBLIZZARD_CLIENT_SECRET='your secret'\nBLIZZARD_AUTH_TOKEN='your token'\n```\n\nNote: Blizzard's authentication tokens expire after 24 hours. To avoid having to refresh the token everyday, `blizz` runs the following command everytime the library is loaded:\n\n```r\nblizz_auth(refresh = TRUE)\n```\n\nThis will remove the expired token from your `.Renviron` and add the fresh token to it. More info on how to get started can be found in [**this**](https://blizz.netlify.com/articles/auth.html) vignette.\n\n## Example\n\nUse the `blizz()` function to access all API endpoints. Note that the leading slash must be included as well: \n\n```{r example1}\nlibrary(blizz)\n\nblizz(\"/d3/data/act/1\")\n```\n\nAdditionally, we can print the response as JSON thanks to the [`jsonlite`](https://github.com/jeroen/jsonlite) package:\n\n```{r example2}\nblizz(\"/d3/data/act/1\", json = TRUE)\n```\n\n## Acknowledgements\n\n* [Blizzard](https://develop.battle.net/): API\n* [Peter Lee](https://www.artstation.com/peterconcept): Nagrand concept art\n* [Jeroen Ooms](https://github.com/jeroen): `jsonlite` package\n* [r-lib](https://github.com/r-lib): `httr` package\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylerlittlefield%2Fblizz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftylerlittlefield%2Fblizz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylerlittlefield%2Fblizz/lists"}