No description, website, or topics provided.
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
Gemfile
Gemfile.lock
README.textile

README.textile

Heatspots Client

A simple client for the Heatspots server app.

Installation

Assuming that you have a Ruby installation, grab bundler for managing dependencies:

gem install bundler
git clone https://louismrose@github.com/louismrose/heatspots_client.git
cd heatspots_client
bundler install

Usage

From your ruby script (or irb):

require 'lib/heatmap.rb'
# Create a heatmap containing one heatspot
Heatmap.plot_singleton("SingleSpot" lat: 1, long: 2, strength: 3)
# Create a heatmap containing many heatspots
Heatmap.plot_many("ManySpots", [{lat: 1, long: 2, strength: 3}, {lat: 4, long: 5, strength: 6}])