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.

貢獻者指南