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.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0aa8931214539e539a12938ef9fbd093ea96265418198efe292207e06ce13d9 |
|
MD5 | 7655390320c9aa016664af8a68204fe3 |
|
BLAKE2b-256 | 26eac7dc6090a5361d223feb9f0688fabd87482fa79f057e8ee8c2cce645c584 |