noorisysweather/weatherapi

There is no license information available for the latest version (2.0.0) of this package.

Package for weather API

2.0.0 2023-03-28 07:35 UTC

This package is auto-updated.

Last update: 2025-03-01 00:39:49 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

Installation

Require this package, with Composer, in the root directory of your project.

$ composer require noorisysweather/weatherapi

Add the service provider to config/app.php in the providers array.

Weather\Weatherbit\Providers\WeatherServiceProvider::class,

Configuration

Laravel requires connection configuration. To get started, you'll need to publish all vendor assets:

$ php artisan vendor:publish --provider="Weather\Weatherbit\Providers\WeatherServiceProvider"

You are free to change the configuration file as needed, but the default expected values are below in .env file:

RAPID_API_KEY="your rapid api key"
RAPID_API_HOST="api host" 

Run APIs on Postman

import postman collection via link and run APIs

https://api.postman.com/collections/22576705-d776556b-d3c4-4cc7-92b5-6b9b29c70d21?access_key=PMAT-01GWNSPHCPC9RX678KJ5831CTG