Update README.md

This commit is contained in:
Aleksandr Statciuk 2022-10-24 03:58:28 +03:00
parent 9116188aab
commit 83f0a4c5cf

View file

@ -196,20 +196,20 @@ https://iptv-org.github.io/api/countries.json
[ [
//... //...
{ {
"name": "United Kingdom", "name": "Canada",
"code": "UK", "code": "CA",
"lang": "eng", "languages": ["eng", "fra"],
"flag": "🇬🇧" "flag": "🇨🇦"
} }
//... //...
] ]
``` ```
| Field | Type | Description | | Field | Type | Description |
| ----- | ------ | ------------------------------------------------------------------------------------------ | | --------- | ------ | ----------------------------------------------------------------------------------------------------- |
| name | string | Name of the country | | name | string | Name of the country |
| code | string | [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code of the country | | code | string | [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code of the country |
| lang | string | Official language ([ISO 639-3](https://en.wikipedia.org/wiki/ISO_639-3) code) | | languages | array | List of official languages of the country ([ISO 639-3](https://en.wikipedia.org/wiki/ISO_639-3) code) |
| flag | string | Country flag emoji | | flag | string | Country flag emoji |
Source of data: https://github.com/iptv-org/database Source of data: https://github.com/iptv-org/database