Calil
カーリルのAPIマッパー
Installation
Add this line to your application's Gemfile:
gem 'calil'
And then execute:
$ bundle
Or install it yourself as:
$ gem install calil
Usage
Use library database
client= Calil.new(app_key: 'Your app_key')
libraries = client.library_search(pref: '埼玉県')
libraries = client.library_search(geocode: '7163027,35.390516', limit: 10)
libraries.each |s|
p s.systemid
p s.libkey
end
Library search
client= Calil.new(app_key: 'Your app_key')
book = client.library_search(isbn: 4834000826, systemid: 'Aomori_Pref')
libraries.each |s|
p s.session
p s.books
end
book.polling
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/calil. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
License
The gem is available as open source under the terms of the MIT License.