The API contains a method to retrieve a region name given the country code and region code, but there's currently no method with which to retrieve the regions for a given country. It would be useful if we could retrieve, say, all regions in GB.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | geoip.query_regions_for_country.patch | 830 bytes | rmathew |
Comments
Comment #1
rmathew commentedPatch adds a geoip_region_values($country_code) method to return all regions for a given country code.
Comment #2
bojanz commented