-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathservices.py
executable file
·34 lines (31 loc) · 2.21 KB
/
services.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
suggestion api to use
services={
"google":"//suggestqueries.google.com/complete/search?client=chrome&q=",
"google news":
"//suggestqueries.google.com/complete/search?client=chrome&hl=${lang}&ds=n&gl=${country}&callback=?&q=",
"google shopping":
"//suggestqueries.google.com/complete/search?client=chrome&hl=${lang}&ds=sh&gl=${country}&callback=?&q=",
"google books":
"//suggestqueries.google.com/complete/search?client=chrome&hl=${lang}&ds=bo&gl=${country}&callback=?&q=",
"youtube":
"//suggestqueries.google.com/complete/search?client=chrome&hl=${lang}&ds=yt&gl=${country}&callback=?&q=",
"google videos":
"//suggestqueries.google.com/complete/search?client=chrome&hl=${lang}&ds=v&gl=${country}&callback=?&q=",
"google images":
"//suggestqueries.google.com/complete/search?client=chrome&hl=${lang}&ds=i&gl=${country}&callback=?&q=",
"yahoo":
"//search.yahoo.com/sugg/ff?output=jsonp&appid=ffd&callback=?&command=",
"bing": "//api.bing.com/osjson.aspx?JsonType=callback&JsonCallback=?&query=",
"ebay":
"//autosug.ebay.com/autosug?_jgr=1&sId=0&_ch=0&callback=?&kwd=",
"amazon":
"//completion.amazon.co.uk/search/complete?method=completion&search-alias=aps&mkt=3&callback=?&q=",
"twitter":
"//twitter.com/i/search/typeahead.json?count=30&result_type=topics&src=SEARCH_BOX&callback=?&q=",
"baidu": "//suggestion.baidu.com/su?cb=?&wd=",
"yandex": "//yandex.com/suggest/suggest-ya.cgi?callback=?&q=?&n=30&v=4&uil={lang}&part=",
"google play": "//market.android.com/suggest/SuggRequest?json=1&c=0&hl=${lang}&gl=${country}&callback=?&query=",
"google play apps": "//market.android.com/suggest/SuggRequest?json=1&c=3&hl=${lang}&gl=${country}&callback=?&query=",
"google play movies": "//market.android.com/suggest/SuggRequest?json=1&c=4&hl=${lang}&gl=${country}&callback=?&query=",
"google play books": "//market.android.com/suggest/SuggRequest?json=1&c=1&hl=${lang}&gl=${country}&callback=?&query=",
}