Added "For Developers" section

This commit is contained in:
freearhey 2020-05-04 17:02:18 +03:00
parent 0643d5eb1c
commit ee8b50cc8e
1 changed files with 41 additions and 0 deletions

View File

@ -30,6 +30,47 @@ Or select one of the playlists from the list below.
#include "./.readme/_countries.md" #include "./.readme/_countries.md"
## For Developers
In addition to the above methods, you can also get a list of all available channels in JSON format.
To do this, you just have to make a GET request to:
```
https://github.com/iptv-org/iptv/channels.json
```
If successful, you should get the following response:
```
[
...
{
"name": "CNN",
"logo": "https://i.imgur.com/ilZJT5s.png",
"url": "http://ott-cdn.ucom.am/s27/index.m3u8",
"category": "News",
"language": [
{
"code": "eng",
"name": "English"
}
],
"country": {
"code": "us",
"name": "United States"
},
"tvg": {
"id": "cnn.us",
"name": "CNN",
"url": "http://epg.streamstv.me/epg/guide-usa.xml.gz"
}
},
...
]
```
## Resources ## Resources
You can find links to various IPTV related resources in this repository [iptv-org/awesome-iptv](https://github.com/iptv-org/awesome-iptv). You can find links to various IPTV related resources in this repository [iptv-org/awesome-iptv](https://github.com/iptv-org/awesome-iptv).