Giter VIP home page Giter VIP logo

openweather-laravel-api's Issues

error to install

i try to install i run only composer require rakibdevs/openweather-laravel-api
and recive this message
There was no api_key specified. You must provide a valid API KEY to get weather data from Open Weather.

WeatherException.php does not comply with psr-4 autoloading standard

Hi,

Great package, thanks!

When installing this package by composer, I got the error
Class RakibDevs\Weather\Src\Exceptions\WeatherException located in ./vendor/rakibdevs/openweather-laravel-api/src/Exceptions/WeatherException.php does not comply with psr-4 autoloading standard. Skipping.

It looks like it is because of the wrong namespace:
RakibDevs\Weather\Src\Exceptions;

Read.me, about .env keys

Hi, I don't know where to put this comment, so on 'Issues' is an easy place. What do you think about changing OPENWAETHER_API_KEY and OPENW_AE_THER_API_LANG to OPENWEATHER_API_KEY and OPENWEATHER_API_LANG?
In short, changing AE to EA.
Thank you for your great work.

Upgrade to 3.0 API

When I first tried I got "Invalid API key" and it seems my newly created account is only valid for the newer 3.0 API. After changing 2.5 to 3.0 in the $url in WeatherClient everything works fine. I guess maybe this should be a config option?

I see this problem

Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires rakibdevs/openweather-laravel-api ^1.0 -> satisfiable by rakibdevs/openweather-laravel-api[v1.0].
- rakibdevs/openweather-laravel-api v1.0 requires guzzlehttp/guzzle ^7 -> found guzzlehttp/guzzle[dev-master, 7.0.0-beta.1, ..., 7.2.0] but it conflicts with your root composer.json require (^6.3).

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

I got error message when a ran compose update

Hi ! I got error message when a ran compose update (laravel 7)
ErrorException

Undefined property: stdClass::$date_format

at G:\server\htdocs\my-project\vendor\rakibdevs\openweather-laravel-api\src\Weather.php:110

I couldnt find any fixes, maybe you already have a solution?? Thanks in advance

One Call API Historical data json response schema has canged in version 3.0

The One Call API's historical data schema has changed as of version 3.0 are there any plans to add support for this?

for reference: https://openweathermap.org/api/one-call-api#history
vs: https://openweathermap.org/api/one-call-3#history

The TLDR of the change is that now it returns only the data for the specified timestamp under the "data" field in the JSON response. previously this data was in the "current" field of the JSON response and there was also an additional hourly field with hourly data for the day.

Wrong cities

After I try to get a weather of an not existing city, a page with json "cod" : "404" etc. is forced and i can't change it. Is there a way to work around it?

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.