/smr

Primary LanguagePythonMIT LicenseMIT

Some Random Api wrapper

Module for work with SomeRandomAPI

========

Wrapper for https://some-random-api.ml/

Endpoints: https://some-random-api.ml/endpoints (and in api: category name == endpoint in code (Filters and other))

Installing

pip install somerandom_wrapper

Example

import asyncio

from somerandom.main import SomeRandomApi

api = SomeRandomApi()

print(asyncio.run(api.animal('dog')))