Paul Waring wrote: > Lewis Baker wrote: >> Are there any plans to release an API for ScenicOrNot, as opposed to the >> .tsv file datadump? > > I've written a script which will convert the TSV file into two database > tables (locations and votes, as there is more than one vote per location > so they shouldn't be stored in the same table). There's an unbelievably > basic API available by GET'ing the following URL:
Simple documentation and code downloads are available at: http://dev.xk7.net/scenicornot/ I haven't provided the SQL dump as it is much faster (not to mention kinder on my bandwidth) to download the TSV file and generate it manually (for which there is a script, assuming you have Bash and Perl installed). Will update the documentation and extend the API as I have time over the next week or so. Paul -- Paul Waring http://www.pwaring.com _______________________________________________ Mailing list [email protected] Archive, settings, or unsubscribe: https://secure.mysociety.org/admin/lists/mailman/listinfo/developers-public
