From 2862ff0787e08d8dd4ac2376aeb421cd7025c4e2 Mon Sep 17 00:00:00 2001 From: Shivaprasad Date: Sun, 23 Sep 2018 17:21:21 +0530 Subject: [PATCH] updated documentation --- sources/README.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/sources/README.md b/sources/README.md index a4a3bcb..7faf243 100644 --- a/sources/README.md +++ b/sources/README.md @@ -36,10 +36,8 @@ radium query "dir" --sources "tldr" -a platform:windows * `platform` - Specifying this will limit the lookup scope to platform specific directories in `tldr` -`sources.LearnXInY` implements `radium.Source` using [learnxinyminutes](http://github.com/adambard/learnxinyminutes-docs). - -## 5. Wikipedia +## 3. Wikipedia `wikipedia.Wikipedia` implements `radium.Source` using [Wikipedia](https://wikipedia.org). @@ -55,8 +53,19 @@ radium query "hindi" --sources "wikipedia" -a language:hi * `language` - Return results in specified language. (e.g., `-a language:hi` will look up in `https://hi.wikipedia.org/wiki`) +## 4. DuckDuckGo + +`duckduckgo.DuckDuckGo` implements `radium.Source` using [DuckDuckGo Instant Answers API](https://api.duckduckgo.com). + +### Examples: + +```bash +radium query "apple" --sources "ddg" + +radium query "hindi" --sources "duckduckdgo" +``` -## 4. LearnXInYMinutes +## 5. LearnXInYMinutes `sources.LearnXInY` implements `radium.Source` using [learnxinyminutes](http://github.com/adambard/learnxinyminutes-docs).