Switch language
wpseek on Twitter


A WordPress-centric search engine for devs and theme authors

API

Generally speaking, you will send a method parameter expressed as 'package.method' along with method specific arguments to the URL http://api.wpseek.com/.


There's a jQuery plugin using the wpseek API available!


API » wordpress.getInfo

Get information about latest WordPress release
e.g. http://api.wpseek.com/?method=wordpress.getinfo

Parameters

None

Sample Resonse (JSON)

({
  "version": "2.8.4",
  "releaseDate": "12.08.2009",
  "releaseDate_tstamp": 1250028000,
  "infoURI": "http:\/\/wordpress.org\/development\/2009\/08\/[...]\/",
  "downloadURI": "http:\/\/wordpress.org\/wordpress-2.8.4.zip"
});

Formats

JSON



API » wordpress.getFunction

Parameters

s (required) - The requested function or Template Tag

Sample Resonse (JSON)

({
  "status": "ok",
  "name": "get_post",
  "type": "WordPress Function",
  "introducedVer": "1.5.1",
  "droppedVer": "-",
  "description": null,
  "descriptionHtml": null,
  "params": [
    "int|object $post Post ID or post object.",
    "string $output Optional, default is Object. Either OBJECT, ARRAY_A, or ARRAY_N.",
    "string $filter Optional, default is raw."
  ],
  "return": [
    "mixed Post data"
  ],
  "definedat": [
    "wp-includes\/post.php"
  ],
  "codexURI": "http:\/\/codex.wordpress.org\/Function_Reference\/get_post"
});

Formats

JSON



API » wordpress.getFunctions

Parameters

output (optional) - Output type. Choose between 'json' or 'plain'. Defaults to 'json'.

Sample Resonse (JSON)

({
  "status": "ok",
  "method": "wordpress.getfunctions",
  "items": [
    "_",
    "__",
    "__checked_selected_helper",
    "__clear_multi_author_cache",
    "__get_option",
    "__ngettext",
    "__ngettext_noop",
    "__return_empty_array",
    "__return_false",
    [...]
  ]
});

Formats

JSON, Plain Text



API » wordpress.getSimilar

Parameters

s (required) - Part of a function name or Template Tag
limit (optional) - How many to return. Defaults and maxes out at 10.

Sample Resonse (JSON)

({
  "status": "ok",
  "term": "blog",
  "generator": "http:\/\/wpseek.com\/",
  "items": [
    {
      "name": "bloginfo_rss",
      "type": "WordPress Function"
    },
    {
      "name": "get_bloginfo_rss",
      "type": "WordPress Function"
    }
  ]
});

Formats

JSON



API » wordpress.getTopics

Get forum topics created on wordpress.org/support/
e.g. http://api.wpseek.com/?method=wordpress.gettopics&s=bloginfo&limit=2

Parameters

s (required) - The requested function or Template Tag
limit (optional) - How many to return. Defaults and maxes out at 10.

Sample Resonse (JSON)

({
  "status": "ok",
  "name": "bloginfo",
  "generator": "http:\/\/wordpress.org\/",
  "items": [
    {
      "title": "esmi on \"function help\"",
      "link": "http:\/\/wordpress.org\/support\/topic\/302279#post-1180442",
      "pubDate": "Wed, 19 Aug 2009 12:20:27 +0000",
      "description": "Can I first ask why you want to modify bloginfo? [...]"
    },
    {
      "title": "amit@vss on \"function help\"",
      "link": "http:\/\/wordpress.org\/support\/topic\/302279#post-1180408",
      "pubDate": "Wed, 19 Aug 2009 11:44:25 +0000",
      "description": "where is the bloginfo() function defined, can we modify it. [...]"
    }
  ]
});

Formats

JSON