Giter VIP home page Giter VIP logo

weather-in-your-calendar's Introduction

Weather in your Calendar   ⛅️ 26°

This is the code powering the Weather in your Calendar.

It's a simple PHP script generating a .ical formated calendar with a 16 days weather forecast with data from OpenWeatherMap.

You can try it out here

Calendar preview

URL parameters

Usage

You can upload it to your host and enter the following url like so:

https://yourdomain.com/weather-cal.php?city=London&units=imperial

Options

Key Values
city city name or
city name,state code or
city name,state code,country code
units metric or imperial
temperature day or low-high
location show or hide

System Requirements

  • A calendar application that supports .ical
  • A system the supports Unicode 7+ (Released: 2014 June 16)

These are the emojis used so fare:

Emojis in Event Title

Your Browser Emoji code API names
☀️ :sunny: 01d
:sparkles: 01n
🌤 :sun_behind_small_cloud: 02d, 02n
☁️ :cloud: 03d, 03n, 04d, 04n
🌧 :cloud_with_rain: 09d, 09n
🌦 :sun_behind_rain_cloud: 10d, 10n
:cloud_with_lightning_and_rain: 11d, 11n
🌨 :cloud_with_rain: 13d, 13n
🌫 :fog: 50d, 50n
🤔 :thinking: No match

Emojis in the Description

Your Browser Emoji code
🌅 :sunrise:
⚡️ :zap:
💧 :droplet:
💨 :dash:
🚩 :triangular_flag_on_post:

Check it out on Product Hunt

Featured on Product Hunt

weather-in-your-calendar's People

Contributors

c99koder avatar vejnoe avatar

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.