Skip to content

amarriner/RandomDistance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Random Distance Bot

A twitter bot that tweets a map with random cities on it to @RandomDistance

This bot uses Google Places APIs to find two random cities on Earth and calculates the distance between them. It will then pull a static map via the Google Static Maps API and tweet everything it has accumulated. The distance calculation uses the haversine formula which I cribbed from here.

Dependencies

TODO

  • Add more GIS data
  • Add weather data

Sample Tweet

The distance between Yulin, Shaanxi, China and Attendorn, Germany is 7514km pic.twitter.com/WGWpCDFhwm

— Random Distance (@RandomDistance) February 1, 2014
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>

Sample Map

Sample Map

About

A bot that tweets the distance between two random cities on Earth

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages