Extract Ushahidi reports via json to leaflet


#1

Hi all

I’m trying to extract reports (all and by category) to be displayed in another map suited for mobile screens using leaflet. Is there good examples and scripts/tutorials available out there for help getting started?

Cheers

Henrik


#2

Hey Henrik,

Have you had a look at our developer guide below:-

https://wiki.ushahidi.com/display/WIKI/Ushahidi+Developer+Guide

Specifically, have a look at how you can make use of the Ushahidi API to extract the data you’re looking for:-

https://wiki.ushahidi.com/display/WIKI/Ushahidi+REST+API

Best,
Angela


#3

Yes, thanks. I am aware of the guide, but haven’t come across any example doing this. Since I’m not the programmer I’d like to be I would be greatly helped using a code snippet already tested.

cheers
Henrik


#4

Hi Henrik, perhaps this wiki article would be of use?

https://wiki.ushahidi.com/display/WIKI/JSON+Handling+of+POST

Heather