Skip to content

This repository contains a JSON file with the names and short codes of all countries in the world.

License

Notifications You must be signed in to change notification settings

ramazancetinkaya/countries-and-codes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Country Codes

This repository contains a JSON file with the names and short codes of all countries in the world.

Overview

The JSON file in this repository provides a list of countries along with their ISO 3166-1 alpha-2 codes. This can be useful for various applications, including form validation, internationalization, and data analysis.

Example Data

{
  "countries": [
    {"name": "Afghanistan", "code": "AF"},
    {"name": "Albania", "code": "AL"},
    {"name": "Algeria", "code": "DZ"},
    ...
    {"name": "Zimbabwe", "code": "ZW"}
  ]
}

Todo

  • Usage example for PHP
  • Usage example for JS
  • Usage example for (?)

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or create a pull request.

License

This project is licensed under the MIT License. For more details, see the LICENSE file.

Copyright

© 2024 Ramazan Çetinkaya. All rights reserved.

Releases

No releases published

Packages

No packages published