jre-missing
jre-missing copied to clipboard
adds feature requested in #6 and also a "missing guest leader board"
I have only made changes to the API so client would still need adjusting to display the new data.
/api/episodes should respond with something like this
{
missingEpisodes: { /*unchanged*/ },
lastChecked: { /*unchanged*/ },
ratioMissing: {
missing: 150,
total: 1500,
percent: '10%'
},
leaderBoard: [
{guest: 'Brian Redban', episodes: 12},
{guest: 'David Seaman', episodes: 7},
/* ...etc */
],
}
I am unable to test it but I think it will work :)