Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

Get metadata from supplied VOD ID and allow its using in naming #28

Open
dbarbuzzi opened this issue Oct 2, 2020 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@dbarbuzzi
Copy link
Owner

The Twitch API has an endpoint that allows fetching details/metadata about various objects such as VODs: https://dev.twitch.tv/docs/api/reference#get-videos

This endpoint returns information that would be using in naming such as the video title, user, date, etc:

{
  "data": [{
    "id": "234482848",
    "user_id": "67955580",
    "user_name": "ChewieMelodies",
    "title": "-",
    "description": "",
    "created_at": "2018-03-02T20:53:41Z",
    "published_at": "2018-03-02T20:53:41Z",
    "url": "https://www.twitch.tv/videos/234482848",
    "thumbnail_url": "https://static-cdn.jtvnw.net/s3_vods/bebc8cba2926d1967418_chewiemelodies_27786761696_805342775/thumb/thumb0-%{width}x%{height}.jpg",
    "viewable": "public",
    "view_count": 142,
    "language": "en",
    "type": "archive",
    "duration": "3h8m33s"
  }],
  "pagination":{"cursor":"eyJiIjpudWxsLCJhIjoiMTUwMzQ0MTc3NjQyNDQyMjAwMCJ9"}
}
@dbarbuzzi dbarbuzzi added the enhancement New feature or request label Oct 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant