Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 501 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 501 Bytes

PlaceKit

Time zone lookup by country, region, and city for those times when latitude/longitude coordinates just aren’t available 🚀

Installation

Using bundler, add to the Gemfile:

gem 'place_kit'

Or standalone:

$ gem install place_kit

Standard Usage

require 'place_kit'

PlaceKit.lookup('US', 'CA', 'Los Angeles')

# Case insensitive
PlaceKit.lookup('us', 'CA', 'los Angeles')

# Symbols work too
PlaceKit.lookup(:US, :CA, :Los_Angeles) # Symbols