{"id":26511138,"url":"https://github.com/rokhimin/ygoprodeck","last_synced_at":"2025-03-21T02:20:10.425Z","repository":{"id":56899114,"uuid":"218072247","full_name":"rokhimin/ygoprodeck","owner":"rokhimin","description":"Ygoprodeck ruby API wrapper for search yugioh card | Gem Library","archived":false,"fork":false,"pushed_at":"2025-03-09T02:37:08.000Z","size":50,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-09T03:24:46.045Z","etag":null,"topics":["ruby","yugioh"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rokhimin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2019-10-28T14:57:12.000Z","updated_at":"2025-03-09T02:37:11.000Z","dependencies_parsed_at":"2025-03-09T03:22:12.584Z","dependency_job_id":"32ba1a1d-4452-43e3-8485-0986e6edb4cf","html_url":"https://github.com/rokhimin/ygoprodeck","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rokhimin%2Fygoprodeck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rokhimin%2Fygoprodeck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rokhimin%2Fygoprodeck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rokhimin%2Fygoprodeck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rokhimin","download_url":"https://codeload.github.com/rokhimin/ygoprodeck/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244722734,"owners_count":20499154,"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":["ruby","yugioh"],"created_at":"2025-03-21T02:20:09.882Z","updated_at":"2025-03-21T02:20:10.408Z","avatar_url":"https://github.com/rokhimin.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ygoprodeck\n\n![Lang](https://img.shields.io/badge/language-ruby-red)\n[![Gem](https://img.shields.io/gem/v/ygoprodeck.svg)](https://rubygems.org/gems/ygoprodeck)\n[![Gem](https://img.shields.io/gem/dt/ygoprodeck.svg)](https://rubygems.org/gems/ygoprodeck)\n\nAPI wrapper for search yugioh card\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'ygoprodeck'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install ygoprodeck\n\n## Usage\nFirst :\n```ruby\nrequire 'ygoprodeck'\n```\n\nFuzzy search :\n```ruby\nYgoprodeck::Fname.is(NAME_CARD)\n```\n\nNormal search :\n```ruby\nYgoprodeck::Name.is(NAME_CARD)\n```\n\nRandom search :\n```ruby\nYgoprodeck::Card.random\n```\n\nList search :\n```ruby\nYgoprodeck::List.is(NAME_CARD)\n```\n\nArchetype search :\n```ruby\nYgoprodeck::Archetype.is(NAME_ARCHETYPE)\n```\n\nAll card sets :\n```ruby\nYgoprodeck::Card.sets\n```\n\nBanlist (TCG, OCG, GOAT) :\n```ruby\nYgoprodeck::Banlist.tcg\nYgoprodeck::Banlist.ocg\nYgoprodeck::Banlist.goat\n```\n\nCheck Database Version :\n```ruby\nYgoprodeck::CheckDbVer.info\n```\n\nor look [examples](https://github.com/rokhimin/ygoprodeck/blob/master/examples)\n\n#### Noted \nRate Limiting on the API is enabled from YGOPRODECK. The rate limit is 20 requests per 1 second\n\n#### Response Information\n\n##### Monster Cards\n- id - ID or Passocde of the card.\n- name - Name of the card.\n- type - The type of card you are viewing (Normal Monster, Effect Monster, Synchro Monster, etc).\n- desc - Card description/effect.\n- atk - The ATK value of the card.\n- def - The DEF value of the card.\n- level - The Level/RANK of the card.\n- race - The card race which is officially called type (Spellcaster, Warrior, Insect, etc).\n- attribute - The attribute of the card.\n\n##### Spell/Trap Cards\n\n- id - ID or Passocde of the card.\n- name - Name of the card.\n- type - The type of card you are viewing (Spell Card or Trap Card).\n- desc - Card description/effect.\n- race - The card race which is officially called type for Spell/Trap Cards (Field, Equip, Counter, etc).\n\n##### Additional Response for Pendulum Monsters\n\n- scale - The Pendulum Scale Value.\n\n##### Additional Response for Link Monsters\n\n- linkval - The Link Value of the card if it's of type \"Link Monster\".\n- linkmarkers - The Link Markers of the card if it's of type \"Link Monster\". This information is returned as an array.\n\n## Development\n\n#### Test\n```\nrake spec \n```\n\n## Contributing\nFork and Pull Request to contibuting https://github.com/rokhimin/ygoprodeck .\n\n## License\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\nEveryone interacting in the Ygoprodeck project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/rokhimin/ygoprodeck/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frokhimin%2Fygoprodeck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frokhimin%2Fygoprodeck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frokhimin%2Fygoprodeck/lists"}