How to use the jikanpy.exceptions.DeprecatedEndpoint function in jikanpy

To help you get started, we’ve selected a few jikanpy examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github AWConant / jikanpy / jikanpy / jikan.py View on Github external
def user_list(id: int, extension: Optional[str] = None) -> Dict[str, Any]:
        """Deprecated: Gets user list information."""
        raise DeprecatedEndpoint("user_list is a deprecated endpoint")
github AWConant / jikanpy / jikanpy / aiojikan.py View on Github external
async def user_list(
        self, id: int, extension: Optional[str] = None
    ) -> Dict[str, Any]:
        """Deprecated: Gets user list information."""
        raise DeprecatedEndpoint("user_list is a deprecated endpoint")
github AWConant / jikanpy / jikanpy / abstractjikan.py View on Github external
def user_list(self, id: int, extension: Optional[str] = None) -> Dict:
        """Gets user list information"""
        raise DeprecatedEndpoint("user_list is a deprecated endpoint")