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.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f696b2bef24c38fb0bf2b1300f093842ebd709763f92ed8d15ea5eeb17546446 |
|
MD5 | 0794328bee45940807736ba886c516ed |
|
BLAKE2b-256 | 5119399b445b63c691dcf351dd5bf4af5257cbe1fd34691252040544f33fc830 |