My favorites | Sign in
Project Logo
                
Search
for
Updated Feb 05, 2009 by dburkes
Search  

Search


search.people

Search Rejaw users, returning 10 results at a time

URL:

Parameters:

api_key or session * Either of API Key or session ID.
q *Search term
page Which page of results you wish to retrieve. Page 1 has the top-ranked matches. The default is Page 1.
detail If present, detailed information about each user is returned. By default, only the username is returned

(*) Required

http://api.rejaw.com/v1/search/people?session=98765abcDEF&q=smith
<response>
  <status>ok</status>
  <total>34</total>
  <users>
    <user>kentsm</user>
    <user>wellness</user>
    <user>robotportal</user>
    <user>Shamblesguru</user>
    <user>shantipahl</user>
    <user>wellnessprogram</user>
    <user>CherrySmith</user>
    <user>shawnsmith</user>
    <user>culturalsavage</user>
    <user>zanshincat</user>
  </users>
</response>

search.messages

Search Rejaw messages, returning 10 results at a time

URL:

Parameters:

api_key or session * Either of API Key or session ID.
q *Search term
page Which page of results you wish to retrieve. Page 1 has the top-ranked results. The default is Page 1.

(*) Required

Note that, if an authenticated session is provided, search results may include items visible only to that user (whispers, whisper replies, shouts in private rooms, etc.), and not to unauthenticated searches.

http://api.rejaw.com/v1/search/messages?session=98765abcDEF&q=frogs
<response>
  <status>ok</status>
  <total>30</total>
  <messages>
    <message>
      <type>shout</type>
      <fullname>Anthony Marco</fullname>
      <username>anthonymarco</username>
      <image_url>http://s3.amazonaws.com/rejaw/user_images/8569/image_normal.jpg</image_url>
      <timestamp>2009-01-26T18:51:13Z</timestamp>
      <cid>A5gwqYH5NW6</cid>
      <serial_number>5655840</serial_number>
      <text>lovehatethings podcast 32: Eggs is Eggs - concerning why no Web 2.1, frogs, eggs, and why the CRTC annoys me so much http://ping.fm/qIaF8</text>
    </message>
    <message>
      <type>shout</type>
      <fullname>Anthony Marco</fullname>
      <username>anthonymarco</username>
      <image_url>http://s3.amazonaws.com/rejaw/user_images/8569/image_normal.jpg</image_url>
      <timestamp>2009-01-22T22:17:57Z</timestamp>
      <cid>B8FsqATl1qX</cid>
      <serial_number>5492275</serial_number>
      <text>thinglets: Frog Genocide of 1,000,000,000 (that's BILLION) frogs every year for food alone... http://ping.fm/Mm8jS</text>
    </message>
    ...
  </messages>
</response>
Hosted by Google Code