https://github.com/kiok46/search-gdt
Search for Google, DuckDuckgo and Twitter.
https://github.com/kiok46/search-gdt
async-programming duckduckgo-api flask google-api restful-api twitter-search
Last synced: about 2 months ago
JSON representation
Search for Google, DuckDuckgo and Twitter.
- Host: GitHub
- URL: https://github.com/kiok46/search-gdt
- Owner: kiok46
- License: mit
- Created: 2017-03-30T18:39:11.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-28T20:14:11.000Z (about 9 years ago)
- Last Synced: 2025-03-27T04:19:10.610Z (about 1 year ago)
- Topics: async-programming, duckduckgo-api, flask, google-api, restful-api, twitter-search
- Language: Python
- Homepage:
- Size: 158 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# search-gdt
Search for Google, DuckDuckgo and Twitter using a single search query.
### How to run?
Get Search API keys of Google, Twitter and DuckDuckGo. and update them in the config_ext.py file
```
# Google url
google_search_url = "https://www.googleapis.com/customsearch/v1?key={}&cx={}&q={}"
google_api_key = ""
google_cx = ""
# DuckDuckGo urls
duckduckgo_base_url = "http://api.duckduckgo.com/?q={}&format=json"
# Twitter urls
twitter_customer_key = ""
twitter_secrey_key = ""
twitter_access_token = ""
twitter_access_secret_key = ""
```
After you are done.
Open terminal, cd to the folder and type the following commands.
```
virtualenv venv
source venv/bin/activate
pip3 install -r requirements.txt
python3 app.py
```
This is what you should see.
