throwbin

API Wrapper for throwbin.io


License
GPL-3.0
Install
pip install throwbin==0.1

Documentation

Throwbin

Modern throwbin.io API wrapper.

Usage

There is some methods of using throwbin API.

Post

Post synchronous

from throwbin import ThrowBin

tb = ThrowBin()

my_paste = tb.post(
    title="My title",
    text="My text",
    syntax="text"
)

print(f"Status {my_paste.status} | Link: {my_paste.link}")