API - Search ideas

Search all active ideas

URL: http://api.smynx.com/ideas/search

HTTP Method: Get

Parameters

  • key - Your API key Required
  • page - Results page number (default is 1)
  • keywords - Search idea title and keywords

Error codes

  • 401 - Not Authorized
  • 404 - Not Found
  • 500 - Internal Server Error

Available API methods

The following API methods are available to use.

Ideas

Locations

Try-outs

Users

Example Response

<ideas type="array">
  <idea>
    <description>A good indoor sport both in summer and winter, that can be played as a casual knock around or a serious game if you are feeling competitive.</description>
    <categories type="array">
      <category>
        <name>Social</name>
      </category>
      <category>
        <name>Active</name>
      </category>
    </categories>
    <id type="integer">32</id>
    <max_people>4 or more</max_people>
    <min_people>2</min_people>
    <name>Play badminton</name>
    <tags type="array">
      <tag>
        <name>sport</name>
      </tag>
      <tag>
        <name>badminton</name>
      </tag>
    </tags>
    <updated_at>Tue Jun 24 11:36:05 UTC 2008</updated_at>
    <user_id type="integer">6</user_id>
  </idea>
  <idea>
    <description>Not sure what to do one warm evening, then go and grab a barbeque, some food and drink.</description>
    <categories type="array">
      <category>
        <name>Social</name>
      </category>
      <category>
        <name>Easy</name>
      </category>
    </categories>
    <id type="integer">31</id>
    <max_people>4 or more</max_people>
    <min_people>2</min_people>
    <name>Have a BBQ</name>
    <tags type="array">
      <tag>
        <name>food</name>
      </tag>
      <tag>
        <name>barbeque</name>
      </tag>
    </tags>
    <updated_at>Mon Jun 23 13:43:45 UTC 2008</updated_at>
    <user_id type="integer">6</user_id>
  </idea>
  <idea>
    <description>Go to a hedge maze. There are hardly any around any more. I think the closest one to me is at Snowdon.</description>
    <categories type="array">
      <category>
        <name>Unusual</name>
      </category>
      <category>
        <name>Easy</name>
      </category>
      <category>
        <name>Active</name>
      </category>
    </categories>
    <id type="integer">30</id>
    <max_people>4 or more</max_people>
    <min_people>1</min_people>
    <name>Visit a Maze</name>
    <tags type="array">
      <tag>
        <name>maze</name>
      </tag>
      <tag>
        <name>lost</name>
      </tag>
      <tag>
        <name>amazing</name>
      </tag>
      <tag>
        <name>needthetoilethalfwaythrough</name>
      </tag>
      <tag>
        <name>outdoors</name>
      </tag>
    </tags>
    <updated_at>Fri Jun 20 14:34:53 UTC 2008</updated_at>
    <user_id type="integer">6</user_id>
  </idea>
</ideas>