nl_tokens: Returns status of various Mojang services in a more helpful format .
pl_tokens: function status ( ) { return fetch ( ` ${ STATUS_API } ` , { headers : { 'user-agent' : USER_AGENT , 'accept' : 'application/json' } } ) . then ( handleErrors ) // NOTE I wonder how /check can fail . then ( res => res . json ( ) ) . then ( ( sites ) => sites . reduce ( ( acc , val ) => { const hostname = Object . keys ( val ) [ 0 ] acc . push ( { hostname , <mask> : val [ hostname ] , isAvailable : val [ hostname ] === 'green' || val [ hostname ] === 'yellow' , hasIssues : val [ hostname ] === 'yellow' || val [ hostname ] === 'red' } ) return acc } , [ ] ) ) }