The Lvmama API Ruby Gem
A simple Ruby wrapper for the Lvmama APIs.
It's not a official Ruby Gem. If you want to get the origin document, please contact: http://www.lvmama.com/.
Installation
gem install lvmama-api
Configuration
Lvmama.configure do |config|
config.client_id = 'appKey'
config.client_secret = 'secret'
end
Usage
# Get the scenic list
response = Lvmama.scenic_info_list_by_page 1
# Use the response
response[:scenicNameList][0][:scenicId]