countries
https://github.com/countries/countries
Ruby
All sorts of useful information about every country packaged as convenient little country objects. It includes data from ISO 3166 (countries and states/subdivisions ), ISO 4217 (currency), and E.164 (phone numbers).
ISO3166::Country#[]
No Docs, write some!
Edit
git clone [email protected]:countries/countries.git
cd countries
open lib/countries/country.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-ISO3166--Country----for-pr
# Commit to gitgit add lib/countries/country.rbgit commit -m "better docs for ISO3166::Country#[]"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-ISO3166--Country----for-pr
hub pull-request
# Celebrate!