DenverCoder1/github-readme-youtube-cards

🚀 Feature: JSON output option

Ouverte

#25 ouverte le 11 sept. 2022

 (17 commentaires) (0 réaction) (0 personne assignée)Python (60 forks)github user discovery
featuregood first issueup-for-grabs

Métriques du dépôt

Stars
 (274 étoiles)
Métriques de merge PR
 (Merge moyen 53j 1h) (3 PRs mergées en 30 j)

Description

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.

Guide contributeur