A simple Hastebin API wrapper for Python.
pip3 install hastebin.py
function post
- takes a string and returns a URL.
import hastebin
for blocking request. import async_hastebin as hastebin
for non-blocking request (in a coroutine).
print(hastebin.post(input("Enter text to upload to Hastebin: ")))