Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
The ruby gem adapter Hotel location api of Taipei City Government.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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"

Something went wrong with that request. Please try again.