DEV.ME SDK for Ruby
DEV.ME SDK for Ruby
Compatible with Ruby on Rails
Get Your Free API Key
Signup Here and Get Your Free API Key
Installation and usage instructions
Installation
Install the module through GEM:
gem install devme-sdk-ruby
Or GEMFILE:
gem "devme-sdk-ruby", "~> 1.0"
Examples
Currency API Conversion
require 'devme-sdk-ruby'
DevmeSdk.configure do |config|
config.api_key['APIKeyHeader'] = 'demo-key'
end
@api_instance = DevmeSdk::CurrencyApi.new
result = @api_instance.v1_convert_currency(from = 'USD', to = 'EUR', opts = { amount: 10 })
IP API Geolocation, IP2Location, IP Data
require 'devme-sdk-ruby'
DevmeSdk.configure do |config|
config.api_key['APIKeyHeader'] = 'demo-key'
end
@api_instance = DevmeSdk::IPApi.new
result = @api_instance.v1_get_ip_details(opts = { ip: '52.45.23.11' })
Testing
bundle exec rake
Need Help?
If you need help please drop us a message, we would be glad to help @ Contact us
Contributing
Please feel free to open an issue or create a pull request and fix bugs or add features, All contributions are welcome.
Thank you!
LICENSE MIT