Querying Geonames API to get only city country name Querying Geonames API to get only city country name json json

Querying Geonames API to get only city country name


You can try with the additional parameter style=SHORT

http://api.geonames.org/searchJSON?username=ksuhiyp&country=us&maxRows=1000&style=SHORT

The docs says: style, String SHORT,MEDIUM,LONG,FULL (optional), verbosity of returned xml document, default = MEDIUM