8000 Ability to fetch multiple objects with a single `PokeApi#get` call · Issue #145 · rdavid1099/poke-api-v2 · GitHub
[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to fetch multiple objects with a single PokeApi#get call #145

Open
rdavid1099 opened this issue May 14, 2019 · 0 comments
Open

Ability to fetch multiple objects with a single PokeApi#get call #145

rdavid1099 opened this issue May 14, 2019 · 0 comments
Labels
feat New feature or request

Comments

@rdavid1099
Copy link
Owner

PokeApi#get should be able to take multiple NamedApiResource queries and return a list of the results.

Ex:

PokeApi.get(pokemon: 'pikachu', item: 'potion', pokemon_species: 151)
# => [ <PokeApi::Pokemon .....>, <PokeApi::Item......>, <PokeApi::PokemonSpecies.....>]
@rdavid1099 rdavid1099 added the feat New feature or request label May 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant
0