Giter Club home page Giter Club logo

api's Introduction

API

Overview

Channels

https://iptv-org.github.io/api/channels.json
[
  //...
  {
    "id": "AnhuiTV.cn",
    "name": "Anhui TV",
    "alt_names": ["安徽卫视"],
    "network": "Anhui",
    "owners": ["China Central Television"],
    "country": "CN",
    "subdivision": "CN-AH",
    "city": "Hefei",
    "broadcast_area": ["s/CN-AH"],
    "languages": ["zho"],
    "categories": ["general"],
    "is_nsfw": false,
    "launched": "2016-07-28",
    "closed": "2020-05-31",
    "replaced_by": "CCTV1.cn",
    "website": "http://www.ahtv.cn/",
    "logo": "https://example.com/logo.png"
  }
  //...
]
Field Type Description
id string Unique channel ID
name string Full name of the channel
alt_names array List of alternative channel names
network string or null Name of the network operating the channel
owners array List of channel owners
country string Country code from which the broadcast is transmitted (ISO 3166-1 alpha-2)
subdivision string or null Code of the subdivision (e.g., provinces or states) from which the broadcast is transmitted (ISO 3166-2)
city string or null Name of the city from which the broadcast is transmitted
broadcast_area array List of codes describing the broadcasting area (r/<region_code>, c/<country_code>, s/<subdivision_code>)
languages array List of languages broadcast
categories array List of categories to which this channel belongs
is_nsfw boolean Indicates whether the channel broadcasts adult content
launched string or null Launch date of the channel (YYYY-MM-DD)
closed string or null Date on which the channel closed (YYYY-MM-DD)
replaced_by string or null The ID of the channel that this channel was replaced by
website string or null Official website URL
logo string Logo URL

Source of data: https://github.com/iptv-org/database

Streams

https://iptv-org.github.io/api/streams.json
[
  //...
  {
    "channel": "BBCNews.uk",
    "url": "http://1111296894.rsc.cdn77.org/LS-ATL-54548-6/index.m3u8",
    "http_referrer": "http://example.com/",
    "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)",
    "status": "online",
    "width": 1280,
    "height": 720,
    "bitrate": 565040,
    "frame_rate": 29.97,
    "added_at": "2022-07-13T04:41:45Z",
    "updated_at": "2022-07-13T04:41:45Z",
    "checked_at": "2022-08-13T14:05:19Z"
  }
  //...
]
Field Type Description
channel string Channel ID
url string Stream URL
http_referrer string or null The Referer request header for the stream
user_agent string or null The User-Agent request header for the stream
status string The status of the stream based on the last check. Can be one of the following: online, blocked, timeout, error
width integer The maximum width of the stream in pixels.
height integer The maximum height of the stream in pixels.
bitrate integer The bitrate of the stream in bits per second.
frame_rate integer or float The frame rate of the stream in frames per second.
added_at string Date the stream was added to the list (ISO 8601)
updated_at string Date of last update (ISO 8601)
checked_at string Date of last check (ISO 8601)

Source of data: https://github.com/iptv-org/iptv

Guides

https://iptv-org.github.io/api/guides.json
[
  //...
  {
    "channel": "KSTSDT3.us",
    "site": "tvtv.us",
    "lang": "en",
    "days": 2,
    "url": "https://iptv-org.github.io/epg/guides/us.xml"
  }
  //...
]
Field Type Description
channel string Channel ID
site string Program source domain name
lang string Language of the guide (ISO_639-1 code)
days integer Number of days for which this guide is intended
url string Link to the guide

Source of data: https://github.com/iptv-org/epg

Categories

https://iptv-org.github.io/api/categories.json
[
  //...
  {
    "id": "documentary",
    "name": "Documentary"
  }
  //...
]
Field Type Description
id string Category ID
name string Name of the category

Source of data: https://github.com/iptv-org/database

Languages

https://iptv-org.github.io/api/languages.json
[
  //...
  {
    "name": "French",
    "code": "fra"
  }
  //...
]
Field Type Description
name string Language name
code string ISO 639-3 code of the language

Source of data: https://github.com/iptv-org/database

Countries

https://iptv-org.github.io/api/countries.json
[
  //...
  {
    "name": "Canada",
    "code": "CA",
    "languages": ["eng", "fra"],
    "flag": "🇨🇦"
  }
  //...
]
Field Type Description
name string Name of the country
code string ISO 3166-1 alpha-2 code of the country
languages array List of official languages of the country (ISO 639-3 code)
flag string Country flag emoji

Source of data: https://github.com/iptv-org/database

Subdivisions

https://iptv-org.github.io/api/subdivisions.json
[
  //...
  {
    "country": "CA",
    "name": "Ontario",
    "code": "CA-ON"
  }
  //...
]
Field Type Description
country string ISO 3166-1 alpha-2 code of the country
name string Subdivision name
code string ISO 3166-2 code of the subdivision

Source of data: https://github.com/iptv-org/database

Regions

https://iptv-org.github.io/api/regions.json
[
  //...
  {
    "code": "MAGHREB",
    "name": "Maghreb",
    "countries": ["DZ", "LY", "MA", "MR", "TN"]
  }
  //...
]
Field Type Description
code string Code of the region
name string Full name of the region
countries array List of countries in the region

Source of data: https://github.com/iptv-org/database

Blocklist

https://iptv-org.github.io/api/blocklist.json
[
  //...
  {
    "channel": "AnimalPlanetEast.us",
    "ref": "https://github.com/iptv-org/iptv/issues/1831"
  }
  //...
]
Field Type Description
channel string Channel ID
ref string Link to removal request or DMCA takedown notice

Source of data: https://github.com/iptv-org/database

Contribution

If you find a bug or want to contribute to the code or documentation, you can help by submitting an issue or a pull request.

api's People

Contributors

amynkvirani avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.