[Developers] Request for search API to return /wikipedia/en
John Giannandrea
jg at metaweb.com
Fri Nov 7 18:56:16 UTC 2008
Sam Halliday wrote:
> I'd like to request that the API support returning the "/wikipedia/
> en" key for results (if present). This doesn't need to be the
> default behaviour, but being able to add a parameter such as
> "wpname=true" would be fantastic.
Sam,
You can obtain this info with the mql_output parameter which defines
what info you get per result. e.g.
http://api.freebase.com/api/service/search?
query=obama&mql_output=[{"id":null,"name":null,"key":[{"value":null,
"namespace":"/wikipedia/en"}]}]
-jg
More information about the Developers
mailing list