VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » freeCodeCamp.org
Using a Public API - Tutorial for Beginners

Using a Public API - Tutorial for Beginners

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
Learn how to use a public API in your project. In this tutorial you will learn to use the openweathermap.org public API but everything you learn here will help you to use any other public API. -Get your API Key: https://openweathermap.org/appid -Icon URL: http://openweathermap.org/img/w/11d.png -Using getJSON: https://api.jquery.com/jquery.getjson/ -Javascript Math properties: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math -Free Vectors by: https://www.vecteezy.com --Tutorial from iEatWebsites. Check out their channel for more great tutorials: https://www.youtube.com/channel/UC0o60y3FtVy3M93JcDFVreA
Date: 2022-03-14

Comments and reviews: 9


Excellent way to learn json and objects. Thanks. A switch for wind direction is anyone wants it
var deg = Math.floor(data.wind.deg);
switch (true) -
case deg >= 360 && deg = 22 && deg = 45 && deg = 67 && deg = 90 && deg = 112 && deg = 135 && deg = 157 && deg = 180 && deg = 202 && deg = 225 && deg = 247 && deg = 270 && deg = 292 && deg = 315 && deg = 337 && deg

reply

I liked this tutorial. The only thing that bugged me was the hardcoded url strings. In my opinion, instead of hardcoding the long url strings into the main code body, why not set them as seperate variables for cleaner looking code?
reply

Hi I am so sick of trying to find out anything on the internet its useless can i build a site and link ebay and discogs to it so if something sells it gets taken off my site and ebay and discogs ?
reply

I was using a different API and got stuck on authentication so googled using api tutorial... 2.24 in and your video helped me figure out where I was going wrong. Small silly syntax issue
reply

informative only if you have experience coding. Video jumps right into API assuming you already know a language so it's not very beneficial for TRUE beginners. Awesome video though!!!
reply

Nice tutorial! If I may suggest though, instead of floor(), round() function would be a good use. Then again, it's an effort to do these kinds of tutorials so, keep it up!
reply

had some lectures about api on some of the other programming courses I took, but none of them really show the process from getting the api key to using it. great video
reply

KEEP IN MIND YOUR API WILL ACTIVATE IN ABOUT 10 MINUTES TO 2 HOURS
just in case you are wondering why the api does not work

reply

Thank you sir. We need many more tutorials like this - working with different APIs. What else could we do for city pages?
reply
Add a review, comment






Other channel videos