README.md in geolookup-0.5.10 vs README.md in geolookup-0.6.0
- old
+ new
@@ -75,10 +75,14 @@
# US state codes and names
Geolookup::USA::State.codes_and_names
# => {1: "Alabama", 2: "Alaska", ...}
+# US state abbreviations and names
+Geolookup::USA::State.abbreviations_and_names
+# => {AL: "Alabama", AK: "Alaska", ...}
+
# US State Codes
Geolookup::USA::State.codes
# => [1, 2, 4, ...]
# US County Examples:
@@ -104,9 +108,15 @@
Geolookup::Country.code_to_name("AS")
# => "American Samoa"
Geolookup::Country.lat_long("American Samoa")
# => [ -14333300, -170000000 ]
+
+Geolookup::USA::AreaCodes.find('202')
+# => {country: 'US', description: '', service: 'y', state: 'DC', type: 'general purpose code'}
+
+Geolookup::USA::Zipcodes.lat_long('90012')
+# => {:lat_int=>39715698, :long_int=>-104814319}
```
For additional functions and documentation please look in geolookup/fips.rb and geolookup/country.rb.
## Contributing