Git Product home page Git Product logo

moosunmv's Introduction

๐ŸŒ€ MoosunMv

Latest Stable Version License StyleCI

๐Ÿ”‹ 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

Guzzle
Goutte

Basic Usage Weather Data

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

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

Basic Usage Satellite Image scraper

$image = new ImgScraper;

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

moosunmv's People

Contributors

aharen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

aharen

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.