Code Monkey home page Code Monkey logo

Comments (16)

farfromrefug avatar farfromrefug commented on May 26, 2024 1

@MattRGX ok i ll give a look on my side.

from oss-weather.

farfromrefug avatar farfromrefug commented on May 26, 2024 1

@MattRGX i LL take a look. It was not like that before.
But I understand I wouldn't add my credit card either

from oss-weather.

farfromrefug avatar farfromrefug commented on May 26, 2024 1

@abalteaux not the same api. I could switch to use multiple api calls but I would prefer not to.

from oss-weather.

20000lbs-of-Cheese avatar 20000lbs-of-Cheese commented on May 26, 2024

Same exact issue, on Android

from oss-weather.

farfromrefug avatar farfromrefug commented on May 26, 2024

@n5corp @MattRGX i just tried with my key and it works. Does you key give you access to the onecall api?
Any chance one of you can share his key privately?

from oss-weather.

MattRGX avatar MattRGX commented on May 26, 2024

I took the free plan on openweathermap.

image

So i guess we don't have access to the onecall api with this free plan.

The other plan where we have access to the onecall api is also free.

But we need to put the credit card numbers to get the API key because up to a certain point it's not free anymore.
And obviously for security and money purposes, i don't want to put my credit card numbers on the OWM website.

from oss-weather.

farfromrefug avatar farfromrefug commented on May 26, 2024

@MattRGX could you ensure there is no unwanted spaces in your apikey (like at the end) from the application settings.
It did just happened to me that copying from the website i get a space at the end and end up with an invalid api key error

from oss-weather.

MattRGX avatar MattRGX commented on May 26, 2024

@MattRGX could you ensure there is no unwanted spaces in your apikey (like at the end) from the application settings. It did just happened to me that copying from the website i get a space at the end and end up with an invalid api key error

I've just double checked again the API key and there is no extra space or unwanted spaces at the beginning or at the end.

What plan do you use for your API key on OWM website ?

from oss-weather.

farfromrefug avatar farfromrefug commented on May 26, 2024

@MattRGX thanks i still made a new release with a fix for that (and other fixes).
as for my i use the base plan.Is it the same for you? I even tried to generate a new key and it is working
Screenshot 2023-04-15 at 09 38 23

from oss-weather.

MattRGX avatar MattRGX commented on May 26, 2024

@farfromrefug i use the free plan that is available in the "Professional collections" subscription plan.
I'm not using the other free plan that is available in the "One call by call" subscription plan.

from oss-weather.

farfromrefug avatar farfromrefug commented on May 26, 2024

Screenshot 2023-04-15 at 10 18 37

I guess i have the same. Could you share your. key privately? My mail is dev at akylas dot fr

from oss-weather.

any1th3r3 avatar any1th3r3 commented on May 26, 2024

FYI I'm on the same plan and I have the same issue, although I can query the API directly just fine with my key.

from oss-weather.

farfromrefug avatar farfromrefug commented on May 26, 2024

@abalteaux which API can you query directly?
I think owm changed the free tier and the one call api is not available anymore.
I am working on a new free weather provider

from oss-weather.

any1th3r3 avatar any1th3r3 commented on May 26, 2024

@farfromrefug Here's an example of what I can query directly https://api.openweathermap.org/data/2.5/weather?q=$CITY_NAME&appid=$API_KEY
I only looked briefly at https://github.com/Akylas/oss-weather/blob/master/app/services/owm.ts#L43-54 and it looked fairly similar

from oss-weather.

xerves78 avatar xerves78 commented on May 26, 2024

i have the same problem :(

my free api key is unvalid and doesnt work in the app :(

how can i fix it ?

from oss-weather.

farfromrefug avatar farfromrefug commented on May 26, 2024

@xerves78 sadly it seems we can't . this JS why I added open-meteo provider which will always be free

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.