With regards to the following API
https://docs.onemap.sg/#onemap-rest-apis
Is it possible to add a category column to the return value like so:
{“SEARCHVAL”:“ALJUNIED MRT STATION EXIT A”,“BLK_NO”:"",“ROAD_NAME”:“NIL”,“BUILDING”:“ALJUNIED MRT STATION EXIT A”,“ADDRESS”:“ALJUNIED MRT STATION EXIT A SINGAPORE”,“POSTAL”:“NIL”,“X”:“33473.0437446516”,“Y”:“33168.535569923”,“LATITUDE”:“1.31623848507353”,“LONGITUDE”:“103.882496650859”,“LONGTITUDE”:“103.882496650859”,"*CATEGORY":"MRT EXIT*
"},
Our use case is to use the API to retrieve all POIs (school, MRT, hospital). Our attempt was not very fruitful as
developers.onemap.sg/commonapi/search?searchVal=university&returnGeom=Y&getAddrDetails=Y&pageNum=1
would yield the following which is not a university.
{"SEARCHVAL":"UNIVERSITY PARK","BLK_NO":"46","ROAD_NAME":"UNIVERSITY WALK","BUILDING":"UNIVERSITY PARK","ADDRESS":"46 UNIVERSITY WALK UNIVERSITY PARK SINGAPORE 297759","POSTAL":"297759","X":"26278.1388283903","Y":"34133.0788691584","LATITUDE":"1.32496191267704","LONGITUDE":"103.817846728169","LONGTITUDE":"103.817846728169"}
Any advice on alternative ways of using the search api to retrieve POIs (MRT, school, malls, hospital) would be appreciated as well.