Show

The primary data type of Chew, a Show represents a User generated performance or event.

Properties

id integer
Unique identifier for this Show.
url URI
URL to this Show's page on Chew.
object_url URI
URL to this Show via the API.
slug string
A unique URL-friendly identifier for the Show. Used to generate its URL. Usually derived from the Show's name.
name string
Title for the Show, as inputted by its creator.
description string
Longform description of the Show, as inputted by its creator.
start datetime

Start time of the Show. Can be future (in the case of scheduled shows) or past (live or archive shows). All times in UTC.

2015-12-03 21:24:08
created_at datetime
When this Show was created. All times in UTC.
duration integer
Length of this Show (in seconds). null for live and scheduled shows.
live boolean
If this Show is being broadcast now.
complete boolean
If this Show has already been broadcast and finished.
archive boolean
If this Show’s recording is available for VOD playback.
featured boolean
If this Show is currently featured at the top of the Chew homepage.
upload boolean
If this Show was uploaded rather than broadcast.
private boolean
If this Show is hidden from the website. Private Shows will only be included in the API if they are owned by the authenticated user.
radio boolean
If this Show is a continual radio show. Radio Shows are never archived and only certain Users can create them.
off boolean
If this Show is currently off air (not being broadcast) [only applies to radio shows].
plays_count integer
Number of times this show has been played.
comments_count integer
Number of chat messages posted on this Show.
favorites_count integer
Number of times this Show has been favorited.
thumbnail_label string
Label over Show thumbnails on Chew website which represents status of Show. Possible values:
  • • Live: for currently live Shows
  • Starting Soon: recently created or overdue scheduled Show
  • Upcoming: scheduled show with start time in the future
  • Finished: recently finished Show
  • Preparing Archive: VOD version of Show is being prepared
  • HH:MM:SS: archived Show available for on demand (value represents Show duration)
  • Pending: uploaded Show pending approval
  • Off Air: radio Show that is not broadcasting
video_url string
M3U8 playlist manifest file for live and archived Shows, null otherwise.
audio_url string
Audio only M3U8 playlist manifest file for live and archived Shows, null otherwise.
image_url string
URL to a PNG image file representing the Show. For upcoming Shows this is usually a flyer and for live Shows this is a snapshot updated minutely. This URL could also point to a non-existent file.
gif_url string
URL to an animated GIF image file. Usually a 5 second snippet of the Show. null for Shows that haven’t started yet.
embed_code string
Responsive HTML embed code.
stream_url string private

RTMP ingest URL used to broadcast this stream.

This is a private property that will only be included with Shows owned by the authenticated user. OAuth access tokens must have the write scope.

stream_key string private

Private stream key required to broadcast this stream.

This is a private property that will only be included with Shows owned by the authenticated user. OAuth access tokens must have the write scope.

tags Tag[]
Array of tags attached to this Show by its creator.
user User
The creator of the Show.

Example

{
  "id": 58096,
  "url": "http://chew.tv/hoxtonfm/hoxton-fm-special-romanian-guest-valentin",
  "object_url": "http://api.chew.tv/v1/shows/58096",
  "slug": "hoxton-fm-special-romanian-guest-valentin",
  "name": "Hoxton FM Special Romanian Guest - Valentin",
  "description": "Ahead of Arpiar at Fabric this Saturday we welcome a Romanian native and true lover of the sound to help us explore what is special about it and why it is becoming so popular around the world.\n\nhttps://soundcloud.com/ivalentin\n\nwww.hoxton.fm",
  "start": "2015-12-03 20:51:20",
  "created_at": "2015-12-03 18:51:19",
  "duration": 8890,
  "live": false,
  "complete": true,
  "archive": true,
  "featured": false,
  "upload": false,
  "private": false,
  "radio": false,
  "off": false,
  "comments_count": 1,
  "favorites_count": 0,
  "thumbnail_label": "02:28:10",
  "video_url": "http://video.cdn.chew.tv/hoxtonfm-hoxtonfm-1opWa/hoxtonfm-hoxtonfm-1opWa_all.m3u8",
  "audio_url": "http://video.cdn.chew.tv/hoxtonfm-hoxtonfm-1opWa/hoxtonfm-hoxtonfm-1opWa_audio.m3u8",
  "image_url": "http://image.cdn.chew.tv/hoxtonfm-hoxtonfm-1opWa/hoxtonfm-hoxtonfm-1opWa.png?1455549592",
  "gif_url": null,
  "embed_code": "<div class=\"chew\" data-uri=\"hoxtonfm/hoxton-fm-special-romanian-guest-valentin\"></div><script src=\"//chew.tv/assets/js/embed.js\"></script>",
  "tags": [
    {
      "name": "House",
      "slug": "house"
    },
    {
      "name": "deep house",
      "slug": "deep-house"
    }
  ],
  "user": {
    "id": 20557,
    "url": "http://chew.tv/hoxtonfm",
    "object_url": "http://api.chew.tv/v1/users/20557",
    "slug": "hoxtonfm",
    "name": "Hoxton FM",
    "location": "London",
    "description": "Hoxton FM shares inspirational music, art, fashion & culture via a live internet stream. We creatively push boundaries in diversity, innovation & high quality.",
    "created_at": "2015-05-29 20:17:16",
    "dj": true,
    "producer": false,
    "featured": true,
    "image_url": "http://image.cdn.chew.tv/hoxtonfm/hoxtonfm.png?1441748066",
    "cover_url": "http://image.cdn.chew.tv/hoxtonfm/cover/hoxtonfm.png?1441748066"
  }
}