Python Workshop - API and Weather Script

Поделиться
HTML-код
  • Опубликовано: 18 сен 2024
  • Find and notify yourself of the weather anywhere in the globe with the OpenWeatherMap API. Application Programming Interfaces (APIs) are links between digital systems. They create avenues for communication and exchange to occur. So set your codes free into the World Wide Web and design software that takes advantage of live data from across the planet (and even, perhaps, outside of it).
    Check out the full guide found here (which includes another API example all about astronauts):
    core-electroni...
    Full Python Workshop for Beginners:
    core-electroni...
    Core Electronics is located in the heart of Newcastle, Australia. We're powered by makers, for makers. Drop by if you are looking for:
    Raspberry Pi: core-electroni...
    LattePanda: core-electroni...
    Development Boards: core-electroni...

Комментарии • 12

  • @qcnck2776
    @qcnck2776 4 года назад

    Thanks. It is really nice to see you moving up to showing useful, practical examples.

  • @theencryptedpartition4633
    @theencryptedpartition4633 3 года назад

    Thanks man, you saved a lot of time. This video is much more clearer than Indian guys on RUclips

  • @k9builder
    @k9builder 2 года назад +1

    Tacoma Washington on 6 August 2022 was 27 degrees celsius.

    • @Core-Electronics
      @Core-Electronics  2 года назад

      Nice mate 😊 sounds like an excellent day for the park

  • @charlez6067
    @charlez6067 3 года назад +2

    I keep getting
    line 55, loc = owm.weather_manager().weather_at_place(city)
    AttributeError: 'OWM25' object has no attribute 'weather_manger'

    • @Core-Electronics
      @Core-Electronics  3 года назад

      Make sure you type all the variables the same name, double check that you spelt Manager correctly higher up in the code. I have the same code running here so if you still run into issues write a message at the bottom of the article page with your code copied and pasted there. Hope this helps!

  • @randomguy-tm3df
    @randomguy-tm3df 4 года назад +1

    You are the best sir.

  • @drpjt
    @drpjt 3 года назад +1

    hi - thanks - useful video - I want to create if statements based on the weather FORECAST eg average temperature tomorrow or average rainfall next 2 days - from what I've seen the api gets pretty complicated and gives something like 4 hourly forecasts with unintelligible UNIX times - any pointers to how we do this?

    • @Core-Electronics
      @Core-Electronics  3 года назад

      Steven created a E-Ink Dashboard that utilised forecasted weather. It used an DarkSky API request but it should definitely give some direction for your project - core-electronics.com.au/projects/simple-e-ink-dashboard