How can I get a generic cx
ID for using the custom search API in Python? http://code.google.com/p/google-api-python-client/source/browse/samples/customsearch/main.py
From what I have read I understand that this cx
ID is for certain sites only(when creating a custom search engine it asks me for specific sites), but I want it to search on google, so I can get the first 3-5 results from a google-search.
So I want to search on GOOGLE using Custom Search API, I already got a Developer Key, I just need to find how can I get an cx
ID for searching on google, not a personal site, or something like that.
Find your search engine IDOn the Custom Search home page, click the search engine you want. Click Setup. On the Basics tab, in the Details section, click Search engine ID.
Create Programmable Search Engine Once it is created, you can find the engine's ID in the Setup > Basics > Search Engine ID section of the Control Panel. This is the cx parameter used by the API.
You can get an API key by visiting https://code.google.com/apis/console and clicking "API Access". You will then need to switch on the custom search API on the "Services" tab.
As of 2020
2012 Answer outdated.
here you can find the cx id http://www.google.com/cse/manage/all
. look for My search engines then choose from the list
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With