Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Simple Interface to interact with Maldives Meteorology

NotificationsYou must be signed in to change notification settings

boring-dragon/MoosunMv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latest Stable VersionLicenseStyleCI

🔋 Installation

 composer require jinas/moosun

💡 How does this work

Moosunmv library is a wrapper around the API of maldives meteorology. Library helps you to interact with the meteorology stations and get live weather data. The available station names are given below. The library also have a imgscraper class which can scrap the latest satellite image from the maldives meteorology website.

Packages used

GuzzleGoutte

Basic Usage Weather Data

You can pass any station name available below to get the data

$rp =newMoosunMv('Gan');echo$rp->stationname;echo$rp->temperature;

Basic Usage Satellite Image scraper

$image =newImgScraper;echo$image->satellite_image;

Available Stations

  • Male
  • Hanimadhoo
  • Kahdhoo
  • Kaadehdhoo
  • Gan

Available Objects

  • stationname
  • hastide
  • sunrise
  • sunset
  • moonrise
  • moonset
  • humidity
  • temperature
  • description
  • dayicon
  • nighticon
  • rainamount
  • wind
  • sunshine-
  • Predicted data of tommorow-
  • first_date
  • first_condition
  • first_sea
  • first_wind
  • first_icon

Predicted data of day after tommorow

  • second_date
  • second_condition
  • second_sea
  • second_wind
  • second_icon

Predicted data of 3rd day

  • third_date
  • third_condition
  • third_sea
  • third_wind
  • third_icon

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp