[Tutorial] - How to Use Weather API for Beginners | Open Weather Map API

Поділитися
Вставка
  • Опубліковано 23 січ 2025

КОМЕНТАРІ • 43

  • @AndysTechTutorials
    @AndysTechTutorials  Рік тому +3

    Here’s a link to download my Postman collection files that contains all of the API calls that I have made in this video and all my other API tutorial videos for whatever price you want (or download for free by typing $0).
    Once you import these files and populate your environment variables, you can start easily making the same API calls I did in the tutorial: andystechtutorials.gumroad.com/l/sqbuh!

  • @MilciadesAndrion
    @MilciadesAndrion 5 годин тому +1

    Great video and very informative. I subscribed to the channel.

    • @AndysTechTutorials
      @AndysTechTutorials  5 годин тому

      I’m glad you enjoyed the video and thanks for subscribing!

  • @noogagoose7750
    @noogagoose7750 8 місяців тому +4

    Thank you so much! You helped me get my weather app setup on my Garmin watch 😊

  • @justinsmith096
    @justinsmith096 10 місяців тому +8

    Hey I keep trying to run it with postman ans there is an error 401. It's been almost a week now though.

    • @nirjharoberoi
      @nirjharoberoi 2 місяці тому

      Error 401 refers to invalid API key

  • @hammadsaeed-dq1qm
    @hammadsaeed-dq1qm 9 місяців тому +3

    how to convert celsius into farhenheit temperature in api response

    • @AndysTechTutorials
      @AndysTechTutorials  9 місяців тому

      If you pass in a query parameter named "units" with the value of "imperial", the response will be returned in Fahrenheit.
      I show this in the video starting at 1:34

    • @atlantic_love
      @atlantic_love 7 місяців тому +2

      LOL, that's out of the scope of this video. Just do the conversion after the getting the temperature.

  • @fullnelsoncodes
    @fullnelsoncodes 2 роки тому +4

    Thanks so much man this really helps

    • @AndysTechTutorials
      @AndysTechTutorials  2 роки тому +1

      Hey Fullnelsonsltzr, glad you found this tutorial helpful!

  • @raihankawser
    @raihankawser 2 роки тому +3

    Thanks,
    this video helped me

    • @AndysTechTutorials
      @AndysTechTutorials  2 роки тому

      Hey Legend, glad this video was helpful to you!
      Please consider subscribing if you want to see more videos like this one!

  • @JesúsLópezLópez-u6q
    @JesúsLópezLópez-u6q 11 місяців тому +1

    how do I use it on python/Jupyther Notebook?

  • @ronmc4539
    @ronmc4539 Рік тому +2

    would you be able to show how to register a personal weather station with openweathermaps, in the free subscription?

    • @AndysTechTutorials
      @AndysTechTutorials  Рік тому

      Hey Ron, I don't plan on making a video on this but this article should help openweathermap.org/stations#create_station

  • @alden_olivero
    @alden_olivero 2 роки тому +2

    In free plan what and all is available

    • @AndysTechTutorials
      @AndysTechTutorials  2 роки тому

      Hey Alden, if you look at openweathermap.org/price and look at the free tier column, you can see all of the available APIs you can make with the free tier plan!

  • @priyankasaleth8986
    @priyankasaleth8986 5 місяців тому +1

    How to generate water quality api

  • @jfarjon
    @jfarjon Рік тому +1

    Congratulations for this fast, sharp and efficient tutorial. Thank you for it and for making it right.
    I am so upset with these tutorial where people don't know how to speak, are hesitant on each and every word, keep moving their mouse in circle while thinking about what to say next, all over a blur image of their screen...

    • @AndysTechTutorials
      @AndysTechTutorials  Рік тому

      Hey Jean-Francois, I do my best to make my tutorials as concise as possible!

  • @Mahmoud.MFA.Fouad.
    @Mahmoud.MFA.Fouad. 8 місяців тому +1

    Thank you ❤❤

  • @haruu6422
    @haruu6422 2 роки тому +1

    Is there a way to choose which city for this Api?

    • @AndysTechTutorials
      @AndysTechTutorials  2 роки тому

      Hey Haruu, if you watch the video at 1:56, I explain how to find the longitude and latitude for a city so that you can use those coordinates in the weather api call to get back data for a specific city

    • @atlantic_love
      @atlantic_love 7 місяців тому +1

      @@AndysTechTutorials Surely there is a map / dictionary with key:value pairs out there that can be downloaded, and then just run a query on that and make the fetch using the result. :)

  • @Трахтибидох-ш5и

    And how to insert all this into the settings of the watch face for Garmin ??

  • @khushisharma8714
    @khushisharma8714 Рік тому +1

    localhost:3000 refused to connect error

  • @lucutes2936
    @lucutes2936 Рік тому

    why wait few hours for API to get activated when there are other options that work instantly

    • @AndysTechTutorials
      @AndysTechTutorials  Рік тому +3

      Hey Lucutes, yes there are other options that you can use if you don't want to wait for a few hours but the Open Weather Map API has a generous free tier plan to use if you are making a small project.

  • @BenGodot
    @BenGodot Рік тому

    Is WeatherAPI or OpenWeatherMap better?

    • @AndysTechTutorials
      @AndysTechTutorials  Рік тому

      Hey Ben, I haven’t used the WeatherAPI before but based on their documentation, it seems to have similar data to the OpenWeatherMap API

    • @BenGodot
      @BenGodot Рік тому

      @@AndysTechTutorials Thanks!

  • @favouranaonye3370
    @favouranaonye3370 5 місяців тому

    Cool... please link to download app

  • @venkata1857
    @venkata1857 2 роки тому +1

    How to fetch 30 cities at a time

    • @AndysTechTutorials
      @AndysTechTutorials  2 роки тому +2

      Hey Venkat, unfortunately the OpenWeather Map API only supports fetching one a city at a time so it's not possible to fetch 30 cities at one time just using Postman.
      But if you a programming language like python or javascript, you could write code that loops through a list of 30 cities and makes an api call for each city.
      Hopefully that helps!

    • @atlantic_love
      @atlantic_love 7 місяців тому +1

      @@AndysTechTutorials I've not done anything like this, but it shouldn't be difficult to run through an array and do some sort of request/fetch with each item. If there is a certaain amount of time required between requests (to cut down on traffic from their perspective), then just use a timer function to make the requests.

  • @sateIIitepilot
    @sateIIitepilot Місяць тому

    This was helpful but not entirely clear

  • @blebleble6548
    @blebleble6548 7 місяців тому

    o hindusie oni wołają cie

  • @snehadeepgolui3757
    @snehadeepgolui3757 2 роки тому +1

    Sir please tell me how to take the additional subscription of one call api 3.0. it requirs my card information

    • @AndysTechTutorials
      @AndysTechTutorials  2 роки тому

      Hey Snehadeep, you will have to pay for a subscription to access that specific API call.

    • @rheyasharma2548
      @rheyasharma2548 Рік тому

      I dont know why my card is getiing decline