Every time I attempt using the ‘define’ operator, it returns a JSON response with keys but no values.
Example: https://duckduckgo-duckduckgo-zero-click-info.p.mashape.com/?q=define+duck&format=json
{
“DefinitionSource” : “”,
“Heading” : “”,
“ImageWidth” : 0,
“RelatedTopics” : [],
“Type” : “”,
“Redirect” : “”,
“DefinitionURL” : “”,
“AbstractURL” : “”,
“Definition” : “”,
“AbstractSource” : “”,
“Image” : “”,
“ImageIsLogo” : 0,
“Abstract” : “”,
“AbstractText” : “”,
“AnswerType” : “”,
“ImageHeight” : 0,
“Results” : [],
“Answer” : “”
}
הצטרף לדיון - הוסף תגובה למטה:
Thanks! We’ll update that page for clarification.
Ah, okay. I guess I was just confused since it was an example on the Instant Answers API page: https://duckduckgo.com/api. Thanks for the heads up though!
Sorry for any confusion! Not all of the instant answers on duckduckgo.com are available through our API. For example, Spice instant answers (which rely on an API call to another external source) aren’t currently available via our API. We’re hoping to add more of the instant answers to our API in the future, though.