Start Over Coder

011: How I Learned to Call My First API

Informações:

Synopsis

I’ve just completed my first project where I call an API to randomly generate an inspiring quote, and this episode is all about how I did it. One of the Free Code Camp projects that must be completed while learning JavaScript is to build a random quote generator by calling an external API, and including a button that lets people tweet the randomly generated quote. It was a great project and not as hard as I thought it would be! Before getting started though, I spent a lot of time procrastinating. Part of that led me to the Dev Tips YouTube channel (and in particular this video), which was the inspiration behind my quote machine's video background. Here are the other resources mentioned in the episode: Free video backgrounds from coverr.co Google Fonts Mashape is the API marketplace I mentioned Forismatic created the API I ended up using Working With APIs in JavaScript [video] from The Coding Train Random Quote Machine [video] from Stephen Mayeux My main takeaways / things to remember from this exercise were