Francis Irving wrote:
The full list of new constituencies with the right spelling is here: http://www.theyworkforyou.com/api/docs/getConstituencies?date=2010-06-01&output=js#output
To confirm, this means the new constituencies are now available through the API through this call rather than a hacky TSV file.
You can also get the Guardian and Press Association identifiers from the TheyWorkForYou API here: http://www.theyworkforyou.com/api/docs/getConstituency?name=Cambridge&postcode=&future=1&output=js#output
The future parameter (which will disappear after the election) only works with postcode. getConstituency with name lookup will only work for current constituencies, the new ones will start to work on Thursday.
Note that the other main way of spelling the constituencies is the Press Association way, which is what the Guardian uses and appears as the guardian_name value in the API, although obviously we can hope everyone uses IDs :)
ATB, Matthew _______________________________________________ Mailing list [email protected] Archive, settings, or unsubscribe: https://secure.mysociety.org/admin/lists/mailman/listinfo/developers-public
