Simple wrapper for some-random-api on python.
Project description
SMR - Some Random Api
Модуль для работы с Some-Random-API
========
Wrapper for https://some-random-api.ml/
Endpoints: https://some-random-api.ml/endpoints
Installing
pip install smr
Sync Example
from smr_py import smr_sync
smr = smr_sync.SMR_client()
print(smr.get_point(
category="canvas",
name="invert",
path="?avatar='link'"
))
Async example
from smr_py import smr_async
import asyncio
smr = smr_async.SMR()
async def main():
print(await smr.get_point(
category="canvas",
name="invert",
path="?avatar='link'"
))
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for some_random_python-1.0.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8acff7993cb8bae81b784f381b70e5e597f218cc531cbf47df291aa774e8d33 |
|
MD5 | 247805e0f5b33714518b435939dc4d6d |
|
BLAKE2b-256 | a9c10051db5000e280d7887900a58d68eb2738112301f3cc98af794b509766d3 |