sei-ec-remote / project-2-issues

1 stars 0 forks source link

Fetching API with temporary token (petfinder) #115

Closed dangdo85 closed 2 years ago

dangdo85 commented 2 years ago

What's the problem you're trying to solve?

I need help fetching petfinder API. It uses a token with a timer.

Post any code you think might be relevant (one fenced block per file)

https://www.petfinder.com/developers/v2/docs/

If you see an error message, post it here. If you don't, what unexpected behavior are you seeing?

What is your best guess as to the source of the problem?

no idea

What things have you already tried to solve the problem?

Tried using the code for the weather app but couldn't get it to work

Paste a link to your repository here

https://github.com/dangdo85/Project_2.git

aishcann commented 2 years ago

Have you taken a look at this part of the documentation?

dangdo85 commented 2 years ago

yes, i was able to get the API key, secret and token using the terminal, but don't know where to go from there.

aishcann commented 2 years ago

Take a look at the fetch documentation here.

aishcann commented 2 years ago

You can also look at where we went over APIs and Fetch at the end of unit 1.

dangdo85 commented 2 years ago

Wasn't able to get it to work. Going to try a different approach. Will open another issue queue Monday if problem still persists.