rakibdevs / openweather-laravel-api Goto Github PK
View Code? Open in Web Editor NEWLaravel OpenWeather API is a Laravel package to connect Open Weather Map API and get wether data in your own format laravel app.
License: MIT License
Laravel OpenWeather API is a Laravel package to connect Open Weather Map API and get wether data in your own format laravel app.
License: MIT License
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.
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;
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.
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?
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.
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
When adding start and end date and time to getAirPollutionByCord it just shows current pollution and date.
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.
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.