Simple web server that serves up a page that takes a search term from a form and calls the google custom search engine API, then displays the results. Two apps were built to test this:
demo-basic: Web app built using Python built in HTTP server
demo-flask: Web app built using Flask
- Python 3.6.2
- flask==0.12.2
- requests==2.18.4
- Copy
demo-template.ini
todemo.ini
- Register with Google for a custom search engine and API key
- Configure your custom search engine ID and API key in
demo.ini
- Execute
python demo.py