The Factwatchers API provides methods for accessing resources such as a person, a political party, a quote, a quoteCheck or a theme.
The API is available at:
http://www.factwatchers.com/:culture/api/v1
Results are returned in xml, json, php, html or csv. Default format is json. If you want a specific format, just append the parameter format=FORMAT_NAME at the end of the requested url:
http://www.factwatchers.com/fr/api/v1/user/id/1?format=xml
The :culture parameter is mandatory in every request. It restricts the request to a localized version of Factwatchers.
Endpoints are accessible on the following URL (just replace ENDPOINT):
http://www.factwatchers.com/:culture/api/v1/ENDPOINT
The response is available in the body of the page:
http://www.factwatchers.com/fr/api/v1/persons/search?name=c
Example:
[{"id":1,"firstName":"Nicolas","lastName":"Sarkozy","party":11},
{"id":2,"firstName":"Claude","lastName":"Gueant","party":11},
{"id":4,"firstName":"Francois","lastName":"Hollande","party":10},
{"id":6,"firstName":"Pierre","lastName":"Moscovici","party":10},
{"id":7,"firstName":"Jean-Francois","lastName":"Cope","party":null},
{"id":8,"firstName":"Luc","lastName":"Chatel","party":11}]