Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 1.31 KB

README.md

File metadata and controls

59 lines (39 loc) · 1.31 KB

Carbonara API Wrapper

⬇️ Installing Carbon-Now via 🐍 pip:

pip install carbonnow

🆕 Upgrading Carbon-Now via 🐍 pip:

pip install -U carbonnow

⬇️ Installing Carbon-Now via 🌐 source:

git clone https://github.com/OpenRestfulAPI/carbon-now-sh-API-Wrapper carbon-now
cd carbon-now
make install

📖 Example Usage:

import asyncio

from carbonnow import Carbon

code = """
import asyncio

async def func():
    return "Hello from Carbonara"

if __name__ == '__main__':
    asyncio.run(func())
"""

async def main():
    carbon = Carbon(
        code=code,
    )
    print(await carbon.save('carbon_photo'))

if __name__ == '__main__':
    asyncio.run(main())

📖 Advance Usage Example:

Check example.py

©️ Copyrights

Licensed with GPLv3, This Project was made by an indivial on Telegram. The person who made this API wrapper has nothing to do with Carbon or Carbonara. Therefore All rights reserved to Carbon and Carbonara's Rightful Owner Peter Solopov Himself.