Skip to content

ninoseki/dnpedia-rb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dnpedia-rb

Build Status Coverage Status CodeFactor

DNPedia domain search API wrapper for Ruby.

Installation

gem install dnpedia

Usage

require "dnpedia"

api = DNPedia::API.new
api.search("%apple%")

# You can pass following parameters to the search method.
# - days: default = 2
# - mode: default = "added"
# - rows: default = 500
# - page: default = 1
# - sidx: default = "length"
# - sord: default = "asc"
api.search("%apple%", mode: "deleted")
api.search("%apple%", days: 2, rows: 100)

License

The gem is available as open source under the terms of the MIT License.

About

DNPedia domain search API wrapper for Ruby

Resources

License

Stars

Watchers

Forks

Packages

No packages published