Skip to main content

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

pypi

versions in other languages

nodejs https://github.com/AndrewLaneX/multiapi

golang https://github.com/rojserbest/multiapi

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-16.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

py_multiapi-16-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file py_multiapi-16.tar.gz.

File metadata

  • Download URL: py_multiapi-16.tar.gz
  • Upload date:
  • Size: 4.0 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.23.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.5

File hashes

Hashes for py_multiapi-16.tar.gz
Algorithm Hash digest
SHA256 38b7329813e1857e7e05d48e73cfd28ca7dcd56e14de8493bdc117f315eb1f0c
MD5 a6f53900ae2639d02ffe7ba1085f024f
BLAKE2b-256 608e4f9c9eaa61dcb79e871a95f0c26bc38f7a386b7c77298ccb01c5963af550

See more details on using hashes here.

File details

Details for the file py_multiapi-16-py3-none-any.whl.

File metadata

  • Download URL: py_multiapi-16-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.23.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.5

File hashes

Hashes for py_multiapi-16-py3-none-any.whl
Algorithm Hash digest
SHA256 1bcfa9181a9abc89f412ff8f0c0ea79f50567948df94bbea34241812e507bb97
MD5 964f7f6ed19ea050589b5a87d192b321
BLAKE2b-256 1d0b879ffd696afb1e86373a86ffb8eddd85b2939f53d60696f18ae0e220f2b8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page