Next.js Discord

Discord Forum

Work with an API help

Unanswered
Elm sawfly posted this in #help-forum
Open in Discord
Elm sawflyOP
hi guys. im building a small projekt for learning purpose. Can anyone point me in the direction of a tutorial(video preffered) where i can see how to build a search form, that pulls from an API at https://www.pokemonpricetracker.com/, i want to pull e.g "pokemon + cardnumber" if possible, or else "pokemon + set"

1 Reply

@Elm sawfly hi guys. im building a small projekt for learning purpose. Can anyone point me in the direction of a tutorial(video preffered) where i can see how to build a search form, that pulls from an API at https://www.pokemonpricetracker.com/, i want to pull e.g "pokemon + cardnumber" if possible, or else "pokemon + set"
1. get api key, store api key in .env
2. everytime you fetch to https://www.pokemonpricetracker.com/ , attach the api key according to the documentation

3. see the docs on how to get the data
4. see the docs on how to authenticate your app whenever you're fetching data
5. make ui from data :)