Giter Site home page Giter Site logo

adium-weather-sparklines's Introduction

Weather Sparklines for Adium

This is an Adium Xtra script that uses the Forecast.io API to draw a sparkline of the forecasted temperature for the next 24 hours.

Usage

Assuming you already have Adium, download the Weather Sparklines.AdiumScript. (Since it’s actually a directory, you’re probably best off downloading the .zip from Github.)

Before you can use it, you need to get an API key from Forecast.io. Once you have that, double-click Weather Sparklines.AdiumScript to install it.

Next, get your latitude and longitude. There’s a Google Maps Labs tool to do this.

Finally, set your status message to /wxtemp{LAT LON YOURAPIKEY}. Note the spaces between the latitude, longitude, and API key.

I deliberately made the sparkline only 8 characters long instead of the 9 that will properly show up in the Gmail web interface so you can add commentary without having the ellipsis cut off the graph.

Details

This probably isn’t really robust enough for a public release, so I’m just throwing it out here.

Credits

Weather data from Forecast.io.

Python wrapper for the Forecast.io API from Github user ZeevG. https://github.com/ZeevG/python-forcast.io

adium-weather-sparklines's People

Contributors

noleli avatar

Watchers

 avatar  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.