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/.
API » wordpress.getInfo
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
e.g. http://api.wpseek.com/?method=wordpress.getfunction&s=get_post
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": "Takes a post ID and returns the database [...]",
"descriptionHtml": "Takes a post ID and returns the database [...]\n",
"codexURI": "http:\/\/codex.wordpress.org\/Function_Reference\/get_post"
});
Formats
JSON
API » wordpress.getSnippets
e.g. http://api.wpseek.com/?method=wordpress.getsnippets&s=bloginfo
Parameters
s (required) - The requested function or Template Tag
limit (optional) - How many to return. Defaults and maxes out at 3.
Sample Resonse (JSON)
({
"status": "ok",
"name": "bloginfo",
"generator": "http:\/\/wpseek.com\/",
"items": [
{
"file": "wp-includes\/general-template.php",
"link": "http:\/\/wpseek.com\/source\/wp\/latest\/wp-includes\/general-template.php.html#bloginfo",
"snippet": " [...] "
},
{
"file": "wp-admin\/plugin-editor.php",
"link": "http:\/\/wpseek.com\/source\/wp\/latest\/wp-admin\/plugin-editor.php.html#bloginfo",
"snippet": " [...] "
},
{
"file": "wp-login.php",
"link": "http:\/\/wpseek.com\/source\/wp\/latest\/wp-login.php.html#bloginfo",
"snippet": " [...] "
}
]
});
Formats
JSON
API » wordpress.getSimilar
e.g. http://api.wpseek.com/?method=wordpress.getsimilar&s=blog&limit=2
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
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




