The ruby gem adapter Hotel location api of Taipei City Government.
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
README.md
Rakefile
taipeiHotel.gemspec

README.md

taipeiHotel

The ruby gem adapter Hotel location api from Taipei City Government.

##Installtiona##

gem install taipeiHotel

##Useage##

require 'taipeiHotel'

get all Hotel index and name

TaipeiHotel.list

get hotel detail

TaipeiHotel.detail(_hotelID)

write all taipei hotel data in your model

aipeiHotel.import2DB(_Your model)

Your model must have follow column.

t.string "travelId"

t.string "travelName"

t.text "description"

t.string "address"

t.string "lat"

t.string "lng"

t.string "imgURL"

t.string "pb_organization"