Search API

0 views
Skip to first unread message

alesg

unread,
Jan 23, 2009, 10:20:41 AM1/23/09
to koornk API
Any plans on the search API. I want to be able to search public or
personal timeline.
Want to do an experiment on the use of language.

matija

unread,
Jan 24, 2009, 11:58:56 AM1/24/09
to koornk API
ciao,

whata about google search api? works perfect, its implemented at
search on koornk.
example : http://koornk.com/search/q=testiranje/filter=status/

docs : http://code.google.com/apis/ajaxsearch/documentation/
arguments : http://code.google.com/apis/ajaxsearch/documentation/reference.html#_intro_fonje

url for koornk status search (i use php-curl, examples above) :

// CODE
$url = 'http://ajax.googleapis.com/ajax/services/search/web?
v=1.0&rsz=large&start='.$start.'&key='.$api_key.'&q=site%3Akoornk.com/
status+' . urlencode($query);
curl_setopt($ch, CURLOPT_URL, $url);
// EOC (end of code? :)

you can also use rss for user (only 20 hits) or api (/api/timeline/
user/) with parameter &limit=100 (returns only last 100 statuses)

m.
Reply all
Reply to author
Forward
0 new messages