DenverCoder1/github-readme-youtube-cards

🚀 Feature: JSON output option

Open

#25 创建于 2022年9月11日

在 GitHub 查看
 (17 评论) (0 反应) (0 负责人)Python (60 fork)github user discovery
featuregood first issueup-for-grabs

仓库指标

Star
 (274 star)
PR 合并指标
 (平均合并 53天 1小时) (30 天内合并 3 个 PR)

描述

The user may want to parse the output manually in a different action step.

An option, for example, output_type: "json" could be useful to allow such customization more easily.

A format such as the following may be useful (all the params, plus the svg card url)

[
  {
      "id": "...",
      "title": "...",
      "timestamp": "...",
      "background_color": "...",
      "title_color": "...",
      "stats_color": "...",
      "width": "...",
      "duration": "...", // if applicable
      "image_url": "https://ytcards.demolab.com/?id=...&...",
  },
  {
      ...
  },
]

This can be coordinated with #24 since both involve adding output_type.

贡献者指南