Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marcw/cccn
Country name to country code, in every languages
https://github.com/marcw/cccn
Last synced: 20 days ago
JSON representation
Country name to country code, in every languages
- Host: GitHub
- URL: https://github.com/marcw/cccn
- Owner: marcw
- License: mit
- Created: 2015-12-22T08:52:01.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-22T09:02:53.000Z (about 9 years ago)
- Last Synced: 2024-12-04T06:37:38.243Z (about 1 month ago)
- Language: PHP
- Size: 272 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CCCN
![Build Status](https://travis-ci.org/marcw/cccn.svg)
Simply convert country names (from nearly every languages) to the corresponding country code.
The country list comes from https://github.com/marcw/country-list.## Usage
// will return 'FR'
MarcW\CCCN\CCCN::getCountryCode('Fàlâŋnsì');## License
MIT