Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
DuckDuckGo::Client
Inherits
Reference
<
Object
Constructors
new
(config :
Config
=
Config
.new, adapter :
HTTP::Adapter
|
Nil
= nil)
Source
Instance methods
adapter
Source
config
Source
query
(query :
String
, params :
Params
=
Params
.new) :
InstantAnswer
Query the Instant Answer API
Source
secure_query
(query :
String
, params :
Params
=
Params
.new) :
InstantAnswer
Query with HTTPS (convenience method)
Source