Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

Google Search API

Does anybody have experience using the Google Search API?
https://developers.google.com/custom-sea...1/overview

I'm using this to search
Code
service = build("customsearch", "v1", developerKey=api_key)
result = service.cse().list(q=search, cx=cse_id).execute()

However, in result, I get different answers every time I run it, and the total result # entry is always saying 0.

Any ideas?
Thanks!
check https://stackoverflow.com/a/37084643
[Image: bitcoin.png] Be Nice For Once 15hVUVz7xA4kazHdk2BuErENGCskVwjYXP
(Jan 31, 2018 03:15 AM)HFDone Wrote:  check https://stackoverflow.com/a/37084643

That's how I got to where I am haha.
Anyone else have any suggestions?


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by tcshDec 27, 2018 09:55 PM 9 340 Dec 27, 2018 09:55 PM
Last Post: FriendZone
[Java] by GlushkoJun 13, 2018 11:13 PM 3 642 Jun 13, 2018 11:13 PM
Last Post: hostov
[.NET] by RiperFishAug 24, 2016 12:23 PM 8 432 Aug 24, 2016 12:23 PM
Last Post: Alpha_Coder