PokeAPI / pokedex-promise-v2

An easy way to use pokeapi v2 with promises in node.js
MIT License
516 stars 91 forks source link

Machines endpoint and list #23

Closed Emiel-Codebridge closed 7 years ago

Emiel-Codebridge commented 7 years ago

Can't seem to find where you put Machines endpoint in the API. Is it missing or can i find it in another endpoint?

Naramsim commented 7 years ago

Hi @Emiel-Codebridge, you are looking for the only endpoint we haven't mapped 😄. I pushed a branch that adds these endpoints (/machine/ and /machine/id/). Let's wait @TheTommyTwitch review.

However, to query machines, I use this call: https://pokeapi.co/api/v2/item/tm01/, because /machine/id/ endpoint, basically, redirects you to this URL.