A Python Wrapper for api.itayki.com
Project description
py-multiapi
a python library for api.itayki.com
Installation
pip3 install py-multiapi
Examples
execute code:
from py_multiapi import multiapi
import asyncio
async def main():
print(await multiapi.exec_code(lang="python3", code="print('Hello World')"))
asyncio.run(main())
make web screenshot:
from py_multiapi import multiapi
import asyncio
async def main():
a = await multiapi.webshot(url="duckduckgo.com")
with open("test.png", "wb") as img:
img.write(a)
asyncio.run(main())
get help from the function:
from py_multiapi import multiapi
def main_help():
print(help(multiapi.exec_code))
main_help()
links
versions in other languages
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
py_multiapi-15.tar.gz
(3.9 kB
view details)
Built Distribution
File details
Details for the file py_multiapi-15.tar.gz
.
File metadata
- Download URL: py_multiapi-15.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8a70765f6920dadd3c537217af813c6ac29439b154d518e5e1de60c8ff9ba47 |
|
MD5 | ab629909e6f8dd4c418daedbb147cddd |
|
BLAKE2b-256 | 73b282a1785dd24cbacc6e6675bfbfe044bec06b5eb5f0b7bea6bd496ac20727 |
File details
Details for the file py_multiapi-15-py3-none-any.whl
.
File metadata
- Download URL: py_multiapi-15-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ebf228a9db8c95ad453dbd7ee1a70d9fd186112db1d1d25edde186004b0a52e |
|
MD5 | 580e0bee689d4eb2cb47a5520deb8971 |
|
BLAKE2b-256 | 387c84b4974635b545fe7673d6f0a8a6191a465ace65f79dbcdb879cd99cb074 |