____ ___ ____ ____ _ ___ _ _ ___ ____ _ ___ _ _
) _)\ ) __( / __ \ ) _)\ ) | ) __( )_\ ) | ( _( / __ \ )_\ ( _( ) |) /
| '__/ | _) ))__(( | '__/ | (__ | _) /( )\ | (__ _) \ ))__(( /( )\ _) \ | ( (
)_( )___( \____/ )_( )____( )___( )_/ \_()____( )____) \____/ )_/ \_()____) )_|)_\
Few days back, I worked on development of search engine for one of the organization, Idea was to build a search engine which can search on custom blob dataset like json, html, pdf, word and ppt files. After a research Azure cognitive search perform the best to our case. But due to lack of dataset to create pipline or model to get
people also ask
feature like google and Bing, I was searching for options, then I come across one exciting library names people_also_ask. This software is bulid on top of that to serve a purpose.
This application is free software to scrap the people also ask feature from google and serve as an API which can be utilized in any development/production search engines. This API is hosted on Heroku.
API support both GET and POST requests.
API url
: https://people-also-ask.herokuapp.com/PAAheader
: {'content-type': 'application/json'}body
: {"q":"What does an Aruba do?","n":2}
import requests
import json
url = 'https://people-also-ask.herokuapp.com/PAA'
headers = {'content-type': 'application/json'}
query=json.dumps({"q":"What does an Aruba do?","n":2})
output = requests.post(url, data = query,verify=True,headers=headers)
- 0.0.1
- Work in progress
Ashish Kumar
Distributed under the 'MIT License'. See LICENSE
for more information.