badges / shields

Concise, consistent, and legible badges in SVG and raster format
https://shields.io
Creative Commons Zero v1.0 Universal
23.75k stars 5.5k forks source link

Twitch Extension version #6899

Closed nixxquality closed 3 years ago

nixxquality commented 3 years ago

:clipboard: Description

This badge is for Twitch Extensions, as listed on https://dashboard.twitch.tv/extensions (you will need to be logged in to see this page)

It could probably look like: shield

:link: Data

The API endpoint Get Released Extensions will return information about the extension with the provided ID.

> twitch api get extensions/released -q extension_id=2nq5cu1nc9f4p75b791w8d3yo9d195
{
  "data": [
    {
      "allowlisted_config_urls": [
        "https://www.googleapis.com/calendar/v3/calendars/*",
        "https://twitch-goog-cal.is-fantabulo.us/*"
      ],
      "allowlisted_panel_urls": [
        "https://www.googleapis.com/calendar/v3/calendars/*",
        "https://twitch-goog-cal.is-fantabulo.us/*"
      ],
      "author_name": "nixxquality",
      "bits_enabled": false,
      "can_install": true,
      "configuration_location": "hosted",
      "description": "Unlike other scheduling extensions, this one lets you define your schedule with the powerful tools of a real calendar application.\nRepeating events of a certain flavor can be color coded, and then renamed so the viewers will know what to expect that day.\n\nNo authentication is needed, you just plug in the custom URL and everything just works.",
      "eula_tos_url": "",
      "has_chat_support": false,
      "icon_url": "https://extensions-discovery-images.twitch.tv/2nq5cu1nc9f4p75b791w8d3yo9d195/1.0.0/logo1593ac27-aa4e-43b2-81e3-076fe24c0df4",
      "icon_urls": {
        "100x100": "https://extensions-discovery-images.twitch.tv/2nq5cu1nc9f4p75b791w8d3yo9d195/1.0.0/logo1593ac27-aa4e-43b2-81e3-076fe24c0df4",
        "300x200": "https://extensions-discovery-images.twitch.tv/2nq5cu1nc9f4p75b791w8d3yo9d195/1.0.0/discovery61b3a64f-6f33-493c-a256-a56fd2009218"
      },
      "id": "2nq5cu1nc9f4p75b791w8d3yo9d195",
      "name": "Schedule with Google Calendar",
      "privacy_policy_url": "",
      "request_identity_link": false,
      "screenshot_urls": [
        "https://extensions-discovery-images.twitch.tv/2nq5cu1nc9f4p75b791w8d3yo9d195/1.0.0/screenshotcdec24dc-c8c6-4df1-b3ed-53bf2161d40d"
      ],
      "state": "Released",
      "subscriptions_support_level": "none",
      "summary": "Link a Google Calendar with this extension and it will display a countdown to your next stream along with an agenda for the upcoming week.",
      "support_email": "nixx@is-fantabulo.us",
      "version": "2.0.2",
      "viewer_summary": "This calendar shows you the upcoming week of streams and a countdown to the next event",
      "views": {
        "config": {
          "can_link_external_content": true,
          "viewer_url": "https://2nq5cu1nc9f4p75b791w8d3yo9d195.ext-twitch.tv/2nq5cu1nc9f4p75b791w8d3yo9d195/2.0.2/33b093e255315c7fd88213fb0d67cc78/config.html"
        },
        "panel": {
          "can_link_external_content": true,
          "height": 500,
          "viewer_url": "https://2nq5cu1nc9f4p75b791w8d3yo9d195.ext-twitch.tv/2nq5cu1nc9f4p75b791w8d3yo9d195/2.0.2/33b093e255315c7fd88213fb0d67cc78/panel.html"
        }
      }
    }
  ],
  "pagination": {}
}

:microphone: Motivation

You could link to the front 'store' page for your extension right in your source code repository.

I'm currently working on a pull request, only opening an issue because TUTORIAL.md told me to.

nixxquality commented 3 years ago

Sadly the version is the only information that's available publicly.