Love Clean Streets Reports API

New version of this api will be released shortly.

If you would like to sign up for an APPKEY to use with this api for both posting data and reading data back, then please email support@mediaklik.com

 

Basic urls Comment
api.mediaklik.com/reports/ Get all approved reports in the last 30 days
api.mediaklik.com/reports/georss Get all approved reports in the last 30 days in georss format
api.mediaklik.com/reports/username Get all approved reports in the last 30 days for username
api.mediaklik.com/reports/report(reportid) Get specific report for reportid
api.mediaklik.com/settings/wards Get all wards
api.mediaklik.com/settings/localauthorities Get all local authorities
api.mediaklik.com/settings/categories Get all categories
api.mediaklik.com/settings/categories/orgid Get all categories used by a specific organisation (not in use yet)
api.mediaklik.com/images/imageid?w=150 Get the image for imageid  and set width to maximum of 150pixels.  Note currently any width is accepted but that will change to a few predefined sizes shortly.  The w querystring can be ommitted to get the image in it's original size
   
Querystrings Can be appended to above urls and combined e.g. reports/georss?age=10&completed=0
age=20 specify the number of days or reports to get
completed=1|0 Only retrieve completed (1) or uncompleted (0) reports
wardid=1234 Only retrieve reports for wardid.  Note this will probably be discontinued or changed with the LLPG/NNPG integration. 
authorityid=1234 Only retrieve reports for authorityid.  Get the authority list and id's from api.mediaklik.com/settings/categories
categoryid=1234 Only retrieve reports for categoryid.  Get the category list from api.mediaklik.com/settings/categories
tag=singletag Only reports with this tag.  Note that multiple tags not currently supported