{"id":22355837,"url":"https://github.com/curso-r/scryr","last_synced_at":"2025-10-28T01:04:42.016Z","repository":{"id":56934163,"uuid":"436799548","full_name":"curso-r/scryr","owner":"curso-r","description":"An R package to access Scryfall's Magic: The Gathering API","archived":false,"fork":false,"pushed_at":"2022-01-28T20:34:56.000Z","size":6094,"stargazers_count":16,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-10-14T01:17:13.126Z","etag":null,"topics":["api","mtg","r"],"latest_commit_sha":null,"homepage":"https://curso-r.github.io/scryr/","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/curso-r.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-10T00:18:46.000Z","updated_at":"2024-01-02T20:36:55.000Z","dependencies_parsed_at":"2022-08-21T05:20:51.678Z","dependency_job_id":null,"html_url":"https://github.com/curso-r/scryr","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curso-r%2Fscryr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curso-r%2Fscryr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curso-r%2Fscryr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curso-r%2Fscryr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/curso-r","download_url":"https://codeload.github.com/curso-r/scryr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228124658,"owners_count":17873170,"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","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","mtg","r"],"created_at":"2024-12-04T14:08:15.630Z","updated_at":"2025-10-28T01:04:42.010Z","avatar_url":"https://github.com/curso-r.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, message = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\nlibrary(dplyr)\nlibrary(tidyr)\nglimpse \u003c- purrr::partial(glimpse, width = 72)\n```\n\n# scryr \u003ca href=\"https://curso-r.github.io/scryr/\"\u003e\u003cimg src=\"man/figures/logo.png\" align=\"right\" height=\"138\" /\u003e\u003c/a\u003e\n\n\u003c!-- badges: start --\u003e\n[![CRAN status](https://www.r-pkg.org/badges/version/scryr)](https://CRAN.R-project.org/package=scryr)\n[![R-CMD-check](https://github.com/curso-r/scryr/workflows/R-CMD-check/badge.svg)](https://github.com/curso-r/scryr/actions)\n[![Codecov test coverage](https://codecov.io/gh/curso-r/scryr/branch/main/graph/badge.svg)](https://app.codecov.io/gh/curso-r/scryr?branch=main)\n[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/5507/badge)](https://bestpractices.coreinfrastructure.org/projects/5507)\n\u003c!-- badges: end --\u003e\n\nscryr is a simple, light, and robust interface between R and\n[Scryfall](https://scryfall.com/)'s powerful _Magic: The Gathering_ card search\nengine. It wraps the [Scryfall API](https://scryfall.com/docs/api) and makes all\nendpoints available as simple functions that any R programmer can use.\n\n## Installation\n\n```r\n# Install released version from CRAN\ninstall.packages(\"scryr\")\n```\n\nYou can install the development version of scryr from\n[GitHub](https://github.com/) with:\n\n```r\n# install.packages(\"devtools\")\ndevtools::install_github(\"curso-r/scryr\")\n```\n\n## Usage\n\nscryr makes it easy to process _Magic_ cards' data programmatically. There are\nmany endpoints that fully support tidyverse compatible analyses. For more\ninformation, start with `vignette(\"scryr\")` or the [full\ndocumentation](https://curso-r.github.io/scryr/).\n\n```{r}\nlibrary(scryr)\n\n# Find red creatures with 7 power, sorted by converted mana cost\ncards \u003c- scry_cards(\"c:red+pow=7\", order = \"cmc\")\n\n# Simple pipeline that counts how many cards of each rarity have a price\ncards %\u003e%\n  unnest(prices) %\u003e%\n  filter(!is.na(usd)) %\u003e%\n  count(rarity)\n\n# Summary of full data\nglimpse(cards)\n```\n\n## Code of Conduct\n\nPlease note that the scryr project is released with a [Contributor Code of\nConduct](https://curso-r.github.io/scryr/CODE_OF_CONDUCT.html). By contributing\nto this project, you agree to abide by its terms.\n\n## Copyright Notice\n\nPortions of scryr are unofficial Fan Content permitted under the [Wizards of the\nCoast Fan Content Policy](https://company.wizards.com/en/legal/fancontentpolicy).\nThe literal and graphical information presented on this package and its\ndocumentation pages about _Magic: The Gathering_, including card images, the\nmana symbols, and Oracle text, is copyright of Wizards of the Coast, LLC, a\nsubsidiary of Hasbro, Inc. This software is not produced by, endorsed by,\nsupported by, or affiliated with Wizards of the Coast, LLC.\n\nMost of scryr's documentation is taken from Scryfall's developer docs and are\nonly included in the package for self-containedness' sake. Scryfall's website,\nAPI, and other related content are copyright of Scryfall, LLC. This software is\nnot produced by, endorsed by, supported by, or affiliated with Scryfall, LLC.\n\nAs per [Scryfall's terms of service](https://scryfall.com/docs/terms), card data\nand images are provided free of charge for the primary purpose of creating\nadditional _Magic_ software, performing research, or creating community content\nabout _Magic_ and related products. When using scryr, you must, therefore, adhere\nto both Scryfall's and Wizards of the Coast's guidelines:\n\n- You may not require anyone to make payments, take surveys, agree to\nsubscriptions, rate your content, or create accounts in exchange for access to\n_Magic_ data.\n\n- You may not use _Magic_ data to create new games, or to imply the information\nand images are from any other game besides _Magic: The Gathering_.\n\n- You may not claim any products or content made with _Magic_ data as official.\nYou must make it clear that your creation is not endorsed or sponsored by\nWizards and/or Scryfall, i.e., unofficial.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurso-r%2Fscryr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcurso-r%2Fscryr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurso-r%2Fscryr/lists"}