Even politicians post things they regret later.
You can see the tweets they posted first, and deleted after on Politwoops.
IntroductionThe Politwoops API allows you to request info from our application. This page explains how you can communicate with our API.
Getting startedThe API for politwoops is really simple. No authentication is required (yet?). We will monitor access however, so don't abuse it. Also note that Politwoops is not hosted on a big server, so please be polite and leave 1 second between API requests.
We only have both RSS feeds, as well as an API call for tweets. You can get a feed for the frontpage (
http://www.politwoops.(nl|com|us|eu)/feed/) or from a group (
You can get the deleted tweets by fetching
http://www.politwoops.(nl|com|us|eu)/index.json or limited to a group if you fetch
http://www.politwoops.(nl|com|us|eu)/g/<group name>.json. The output format looks like this:
details: ( … ),
content: "@DilanYesilgoz Hoort jij niet in bed te liggen?",
( … )
Note that the
details field in the tweet if the original object as we received it from Twitter. The API call has one parameter (
page) which controls pagination.
You can get a list of politicians by fetching the URL
http://www.politwoops.(nl|com|us|eu)/politicians.json. The end-result is in JSON format.
You can get a list of politicial parties by fetching the URL
http://www.politwoops.(nl|com|us|eu)/parties.json. The end-result is in JSON format.
You can get a list of groups by fetching the URL
http://www.politwoops(nl|com|us|eu)l/groups.json. The end-result is in JSON format.
name: "aa en hunze",
sponsor: "Mede mogelijk gemaakt door netwerk democratie",
full_name: "De gemeenteraad van aa en hunze"