Navigation

    CreatiCode Scratch Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • CreatiCode
    1. Home
    2. jasperleung.python-717f6cde
    3. Posts
    J
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Groups 0

    Posts made by jasperleung.python-717f6cde

    • RE: Getting data from openweather API

      @info-creaticode

      Here’s the project link:

      https://play.creaticode.com/projects/694b937608b890c381af93e0

      posted in Help
      J
      Jasper Leung
    • Getting data from openweather API

      Hi,

      I’m currently trying to make a weather app and I need to get data from openweathermap.org 's API.

      Here’s my current code:
      Screenshot 2025-12-26 at 8.46.06 AM.png

      First, it fetches the users cords and stores it in 2 different vars.Then, it fetches data from the api using the "fetch web page as"block. Lastly, it asks chatGPT to gen a weather report.

      Problem:
      The fetch block always returns an error even though the api is up.

      Is there a way to fix it/another way to fetch from an api?

      Thanks!

      posted in Help
      J
      Jasper Leung