Fork me on GitHub

Queries the database looking for any text. The searched term is matched against the fields name, description and excerpt of all items.

Parameters

Name Type Description
text string Text you want to find (case insensitive). E.g. ui.

Return

Requesting http://api.as3gamegears.com/1.0/search/ui will produce the following return:


{
  "query": "ui",
  "items": [
    {
      "id": 7,
      "name": "QuickBox2D",
      "description": "QuickBox2D is a mini-library created to work with Box2DFlashAS3(...)",
      "excerpt": "QuickBox2D is a mini-library (...)",
      "sample": "",
      "license": [
        {
          "id": 46,
          "name": "MIT",
          "slug": "mit"
        }
      ],
      "site": "http:\/\/actionsnippet.com\/?page_id=1391",
      "repository": "http:\/\/quickbox2d.googlecode.com\/svn\/trunk\/",
      "twitter": "zevanrosser",
      "stats": "quickbox2d"
    },
    {
      "id": 155,
      "name": "FluidSolver",
      "description": "FluidSolver is a class for solving real-time fluid dynamics simulations (...)",
      "excerpt": "FluidSolver is a class for solving real-time(...)",
      "sample": "",
      "license": [
        {
          "id": 46,
          "name": "MIT",
          "slug": "mit"
        }
      ],
      "site": "http:\/\/code.google.com\/p\/in-spirit\/wiki\/FluidSolver",
      "repository": "http:\/\/in-spirit.googlecode.com\/svn\/trunk\/",
      "twitter": "inspirit",
      "stats": ""
    },
    
    (...)
    
    {
      "id": 264,
      "name": "QuickB2",
      "description": "QuickB2 is a complete abstraction of Box2D, providing grouped hierarchies(...)",
      "excerpt": "QuickB2 is a complete abstraction of Box2D(...)",
      "sample": "import QuickB2.* { (...)",
      "license": [
        {
          "id": 46,
          "name": "MIT",
          "slug": "mit"
        }
      ],
      "site": "http:\/\/code.google.com\/p\/quickb2",
      "repository": "http:\/\/quickb2.googlecode.com\/svn\/trunk\/",
      "twitter": "",
      "stats": ""
    }
  ]
}