{"id":20424824,"url":"https://github.com/rzfeeser/mtg","last_synced_at":"2026-07-01T17:32:19.713Z","repository":{"id":262514297,"uuid":"887471135","full_name":"rzfeeser/mtg","owner":"rzfeeser","description":"Ansible rzfeeser.mtg collection automating the magicthegathering.io API","archived":false,"fork":false,"pushed_at":"2026-02-12T23:43:44.000Z","size":2415,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-13T05:57:30.025Z","etag":null,"topics":["ansible","ansible-galaxy","mtg"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rzfeeser.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-12T19:57:38.000Z","updated_at":"2026-02-12T23:43:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"dc21419e-43a4-4d47-90a8-16accf821f66","html_url":"https://github.com/rzfeeser/mtg","commit_stats":null,"previous_names":["rzfeeser/mtg"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rzfeeser/mtg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rzfeeser%2Fmtg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rzfeeser%2Fmtg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rzfeeser%2Fmtg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rzfeeser%2Fmtg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rzfeeser","download_url":"https://codeload.github.com/rzfeeser/mtg/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rzfeeser%2Fmtg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35017089,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-01T02:00:05.325Z","response_time":130,"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":["ansible","ansible-galaxy","mtg"],"created_at":"2024-11-15T07:11:04.905Z","updated_at":"2026-07-01T17:32:19.696Z","avatar_url":"https://github.com/rzfeeser.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rzfeeser.mtg - Magic The Gathering - Ansible Collection\nAuthor: Russell Zachary Feeser  \nGitHub: @RZFeeser  \nEmail: rzfeeser@users.noreply.github.com  \nGalaxy: https://galaxy.ansible.com/rzfeeser/mtg\n\n![rzfeeser.mtg Magic The Gathering Banner](https://github.com/rzfeeser/mtg/blob/main/docs/images/rzfeeser_ansible_mtg_collection.png?raw=true)\n\nThis repository is an Ansible collection, `rzfeeser.mtg`, written by @RZFeeser for the purposes of an Ansible collection containing plugins and playbooks that abstract interaction with Magic the Gather API service @ [MTG API](https://docs.magicthegathering.io/)\n\n### Overview\n\nWelcome! This is an Ansible collection developed for [https://magicthegathering.io](https://magicthegathering.io)\n\nAnsible is a framework that runs Python scripts primarily used for for automating configuration, or Configuration as Code (Caac). So, we'll be the first to admit, it *is* a little silly to have an Ansible collection that interacts with a service to return Magic the Gathering facts. However, it is a wonderfully maintained API, open, has support of a massive community, and ultimately a fun way to learn about coding.\n\n*Note: We are not curators of the MagicTheGathering.io API service. For questions general use questions about the API, see the documentation page at* [docs.magicthegathering.io](https://docs.magicthegathering.io)\n\n### Resources\n- [@GitHub - rzfeeser/mtg](https://github.com/rzfeeser/mtg)\n- [@GitHub - mtg Ansible Execution Environment](https://github.com/rzfeeser/mtg/pkgs/container/mtg_ee)\n- [magicthegathering.io](https://docs.magicthegathering.io/)\n- [Ansible Galaxy - rzfeeser.mtg](https://galaxy.ansible.com/rzfeeser/mtg)\n\n\n### Install Notes\n- This Ansible collection is written with the Python standard library, so it has no dependenies beyond itself.\n- This is an Ansible collection and may be installed using one of the following methods:\n  1. Install directly from source on GitHub\n  2. Proxied from ansible.galaxy.com\n  3. Bypass a direct install, and instead use the PokeAPI Execution Environment container based solution (suitable for CI engines such as AAP/Tower/AWX, Jenkins, GitLab, and so on)\n\n#### Option 01 - Install directly from source on Github\n- Ansible should already be installed\n- Install rzfeeser.mtg collection directly from GitHub - `ansible-galaxy collection install git+https://github.com/rzfeeser/mtg`\n\n#### Option 02 - Proxied from ansible.galaxy.com\n- Ansible should already be installed\n- Install rzfeeser.mtg collection via ansible.galaxy.com - `ansible-galaxy collection install rzfeeser.mtg`\n\n#### Option 03 - Container based solution\n- `ansible-runner` needs to be installed, and Docker needs to exist\n  - It should be mentioned that `ansible-runner` requires a special project directory layout before executing. See the [ansible-runner Project Homepage](https://ansible.readthedocs.io/projects/runner/en/stable/index.html) for more information\n- An Ansible Execution Environment container is maintained by this author, [@GitHub - mtg Ansible Execution Environment](https://github.com/rzfeeser/mtg/pkgs/container/mtg_ee). This solution includes Ansible, Python, Ansible-Runner, and the most recent `rzfeeser.mtg` collection\n- Use `ansible-runner` to run a playbook containing references to the `rzfeeser.mtg` collection - `ansible-runner run --process-isolation --process-isolation-executable docker --container-image ghcr.io/rzfeeser/mtg_ee:1.3.3 -p playbook_to_run.yml .` *note: git clone this project into a folder called* `project/` *and then run from outside of the* `project/` *folder.*\n\n\n### How to Use\n- The module `rzfeeser.mtg.mtg_card` may be used to make API requests to https://api.magicthegathering.io/\u003cversion\u003e/\u003cresource\u003e. This module was written to simplify interaction with https://api.magicthegathering.io/\u003cversion\u003e/\u003cresource\u003e API. See https://magicthegathering.io/ for documentation on using the API. \n\n\u003c!--\n- `rzfeeser.pokeapi.pokeapi_info` has the following options:\n  - **resource**:\n      description: This is the resource to lookup. See pokeapi.co/docs/v2 for all possible values. Values include 'ability', 'berry', 'berry-firmness', 'berry-flavor', 'characteristic', 'contest-effect', 'contest-type', 'egg-group', 'encounter-condition', 'encounter-condition-value', 'encounter-method', 'evolution-chain', 'evolution-trigger', 'gender', 'generation', 'growth-rate', 'item', 'item-attribute', 'item-category', 'item-fling-effect', 'item-pocket', 'language', 'location', 'location-area', 'machine', 'move', 'move-ailment', 'move-battle-style', 'move-category', 'move-damage-class', 'move-learn-method', 'move-target', 'nature', 'pal-park-area', 'pokeathlon-stat', 'pokedex', 'pokemon', 'pokemon-color', 'pokemon-form', 'pokemon-habitat', 'pokemon-shape', 'pokemon-species', 'region', 'stat', 'super-contest-effect', 'type', 'version', 'version-group'\n      required: true\n      type: str\n  - **name**:\n      description: The name of the resource to lookup. See pokeapi.co/docs/v2 for all possible values.\n      required: false\n      type: str\n  - **limit**:\n      description: The number of results that will be returned with the lookup.\n      required: false\n      type: int\n  - **offset**:\n      description: The resource index + 1 to begin at. For example, If 42 is passed, then resource 43 will be the first result returned.\n      required: false\n      type: int\n--\u003e\n\n### About magicthegathering.io REST API\nVisit [https://magicthegathering.io](https://magicthegathering.io) for more information about the project.\n\n### About the Author\nRussell Zachary Feeser (@RZFeeser) is a consultant and technology trainer focusing on Ansible, Python, AWX/Tower/AAP, Terraform, Go, Databricks, Snowflake, Azure, 5G, SIP and core telecom communications. If you're interested in discussing a consulting or training project, feel free to reach out.  \n\n- [https://youtube.com/@codewithfeeser](https://youtube.com/@codewithfeeser)\n- [https://rzfeeser.com](https://rzfeeser.com)  \n- [https://iris7.com](https://iris7.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frzfeeser%2Fmtg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frzfeeser%2Fmtg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frzfeeser%2Fmtg/lists"}