Update README.md

This commit is contained in:
Aleksandr Statciuk 2022-01-24 04:13:26 +03:00
parent 8518a0f471
commit 28003928a5

128
README.md
View file

@ -1,3 +1,127 @@
# API # API (beta)
_WIP_ _Work in Progress_
### Channels
```
https://iptv-org.github.io/api/channels.json
```
```
[
...
{
"name": "CNN",
"id": "CNN.us",
"country": "US",
"languages": [
"eng"
],
"broadcast_area": [
"c/US"
],
"categories": [
"news"
],
"logo": "https://myhealthhub.frontline.ca/myhealthhubtv/channellogos/cnn.png"
},
...
]
```
### Categories
```
https://iptv-org.github.io/api/categories.json
```
```
[
...
{
"name": "Documentary",
"slug": "documentary",
"is_nsfw": false
},
...
]
```
### Countries
```
https://iptv-org.github.io/api/countries.json
```
```
[
...
{
"name": "United Kingdom",
"code": "UK",
"lang": "eng",
"flag": "🇬🇧"
},
...
]
```
### Divisions
```
https://iptv-org.github.io/api/divisions.json
```
```
[
...
{
"name": "Ontario",
"code": "CA-ON",
"country": "CA"
},
...
]
```
### Languages
```
https://iptv-org.github.io/api/languages.json
```
```
[
...
{
"name": "French",
"code": "fra"
},
...
]
```
### Regions
```
https://iptv-org.github.io/api/regions.json
```
```
[
...
{
"name": "Maghreb",
"code": "MAGHREB",
"countries": [
"DZ",
"LY",
"MA",
"MR",
"TN"
]
},
...
]
```