Code Monkey home page Code Monkey logo

Comments (10)

farfromrefug avatar farfromrefug commented on May 26, 2024

@Jeosas Very good catch. Sadly the weather map data is only available with an OpenWeatherMap api key ...
It is now disabled if you dont have one.
Sorry

from oss-weather.

Jeosas avatar Jeosas commented on May 26, 2024

Hmm I have a personal OWM "One call API" key though, isn't it what is needed for this feature ?

Do you mind if I look into it ? (updating the api url to Global precipitation api and limiting the feature to OWM key owners)

from oss-weather.

farfromrefug avatar farfromrefug commented on May 26, 2024

@Jeosas sΓ»re you can look into it. But yes if you have a key it should work. The easiy test is to make a request like in my app with your API key. See what is return: an image or an error.

from oss-weather.

Jeosas avatar Jeosas commented on May 26, 2024

Indeed, I'll test this out πŸ‘Œ

from oss-weather.

Jeosas avatar Jeosas commented on May 26, 2024

Alright, I checked the API call with my own key, and I get a 401 on the map request.. so this seems to be the problem.

I tested my API key on a onecall forecast request and it works as expected.

Is there an option I'm missing in my free OWM subscription ? Do you manage to have precipitation maps info with a free API key ?

from oss-weather.

Jeosas avatar Jeosas commented on May 26, 2024

After further reading and investigation, seems that your current 'map/index.ts' component already uses the "Weather maps 2.0" api (from my understanding).
Sadly this map 2.0 API is only available to OWM paid tier subscription. Free accounts are limited to the maps 1.0 API.

Farewell weather map 😒

from oss-weather.

Jeosas avatar Jeosas commented on May 26, 2024

In the end, it's the same issue that #57
Sorry for duplicate

I'll keep this open for now, I plan to lookaround to fix things up

from oss-weather.

farfromrefug avatar farfromrefug commented on May 26, 2024

OK weird though all keys would work with map data

from oss-weather.

s38b35M5 avatar s38b35M5 commented on May 26, 2024

@farfromrefug

Just checking: this is why there is no radar data in the app? The "open" weather APIs have gone the way if "open" subtitles and charge for API access to real data?

from oss-weather.

farfromrefug avatar farfromrefug commented on May 26, 2024

@s38b35M5 yes this is why there was none. But now the app has switched api for the weather radar, it works without an api key!

from oss-weather.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.