0-9194 / 0-9194/scryfall-rails

Add the Set search

Open Beginner friendly
#10 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Ruby
Stars
2
Forks
6
PR merge metrics
No merged PRs in 30d

Description

## Scryfall Documentation
https://scryfall.com/docs/api/sets

## What to do?
Theres a section for search of Magic sets. The idea is to eventually have all the functions to each category of search on the API.

- [ ] List of all sets (`/sets`)
- [ ] Get set by code (`/sets/:code`)
- [ ] Get set by Id (`/sets/:id`)
- [ ] Get set by TCGPlayer Id (`/sets/tcgplayer/:id`)

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue is to implement set search functions for the Scryfall API. Start by examining the existing API client structure in the gem, likely in lib/scryfall/. Look for similar endpoint implementations (e.g., for cards). The Scryfall API documentation for sets (https://scryfall.com/docs/api/sets) specifies the endpoints. Implement methods for listing all sets, getting a set by code, by ID, and by TCGPlayer ID. Test by making requests to the API and ensuring the responses are correctly parsed.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
api
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
75/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.