def METHOD_NAME(self, endpoint: str, **values: Dict[str, Any]) -> Optional[str]:
    if endpoint == 'card':  # The error pages make a /cards/<name> reference, but only decksite implements it.
        return 'https://pennydreadfulmagic.com/cards/{name}/'.format(name=values['name'])
    return None