A live version of the Dronemappr API is available at http://api.dronemappr.com/api/v1/
Drone strikes, among other contentious issues of the world's current political climate, stand as one of many proverbial elephants in the room. However, seeing as drone strikes often go underreported and occur half a world away, our elephant is often nowhere to be seen.
The data available through this API has been meticulously collected by individuals at The Cluster Project, 'an ongoing web gallery and blog that uses multimedia artworks to explore weapons, war, civilian casualties and pop culture.'
A React-based client to view, filter, and manipulate the data may be found here.
The Dronemappr API has a variety of optional query string based parameters. These may be used in isolation or in conjunction with the RESTful routes defined below.
All query based parameters are optional and may be mixed and matched at will onto the base root path of /api/v1
or any of the additional routes defined below.
/api/v1/
- country - country name
- lat - latitude
- lng - longitude
- start_year - starting year
- end_year - starting year
http://api.dronemappr.com/api/v1/?country=syria
http://api.dronemappr.com/api/v1/?country=afghanistan&start_year=2014&end_year=2015
Search and return all Dronemappr data.
/api/v1/
- none - no parameters required
http://api.dronemappr.com/api/v1/
Search and return all drone strikes within a specific country.
/api/v1/country/{country}
- country - country name
http://api.dronemappr.com/api/v1/country/yemen
Search and return for all drone strikes with n casualties.
/api/v1/kills/{kills}
- kills - number of casualties
http://api.dronemappr.com/api/v1/kills/5
Searching by date can be done in three ways:
- Start Date - Return all results beginning at start date to present
- End Date - Return all results up until end date
- Date Range - Return all results between start date and end date
/api/v1/start_year/{start_year}/end_year/{end_year}
- start_year - starting year
- end_year - ending year
*Start Date Only*
http://api.dronemappr.com/api/v1/start_year/2015
*End Date Only*
http://api.dronemappr.com/api/v1/end_year/2017
*Date Range*
http://api.dronemappr.com/api/v1/start_year/2015/end_year/2016
Search and return all drone strikes within a radius of n or more kilometers of a geographic coordinate (latitude , longitude).
/api/v1/radius/{radius}/lat/{lat}/lng/{lng}
- radius - radius (in kilometers)
- lat - latitudinal point of origin
- lng - longitudinal point of origin
http://api.dronemappr.com/api/v1/radius/50/lat/33.566561/lng/69.878354
Special thanks to Taq Karim and Kirk Zamieroski for their continued support, input and all around savagely good vibes.
I'd also like to acknowledge preceding works for their subsequent influence on this project including Josh Begley's work Dronestre.am, and Out of Sight out of Mind.