How to search my threads based on some key words?
If You have already many threads in some StackExchange sites, and sometime You would
like to be able to search among them, for instance, based on some key
words.
or you can do this:
You can search any Stack Exchange site for some keywords using the
/search method:According to the , usage documentationthehttp://api.[site].com/1.1/search?intitle=[search string] intitle parameter is:A string that must appear verbatim in the title of a questionHere is an example URL:
Notice that all of the responses contain the string install firefox in their title. |
or you can do this:
The API v2 provides support for
/search :http://api.stackexchange.com/2.2/search?site=[site]&intitle=[search string]If you want to constrain this to your posts, v2's /search/advanced path allows you to filter by user,or by basically anything else: http://api.stackexchange.com/2.2/search/advanced?site=[site]&title=[search string] &user=[your user ID]Beware - /search calls the title parameter intitle , while /search/advanced calls it title . |
Komentar
Posting Komentar