Skip to content

widgets for my acc readme; including Apple Music Recently Played Widget, GitHub Repository Widget

Notifications You must be signed in to change notification settings

dn1t/readme-widgets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

readme-widgets

Environment Variables

AM_DEV_TOKEN: MusicKit Developer Token
AM_USER_TOKEN: MusicKit Music User Token
GH_TOKEN: GitHub Personal Access Token

Endpoints

Apple Music Recently Played Widget

URL /recently-played
Query Parameters:

Name Type Required Default Description
artwork_size String no 708 Size of the artwork
language String no en-US Language of Apple Music

GitHub Repository Widget

readme-widgets

URL /repository
Query Parameters:

Name Type Required Default Description
owner String yes - Owner of the repository
repo String yes - Name of the repository
name String no {repo} Custom name to display on the widget

Redirect API

Set this address as where users will be redirected when they click on widgets

URL /redirect
Query Parameters:

Name Type Required Default Description
to "recently-played" yes - The endpoint of the widget the user clicked

About

widgets for my acc readme; including Apple Music Recently Played Widget, GitHub Repository Widget

Resources

Stars

Watchers

Forks