Installation and Usage

Use pip to install pbwrap

pip install pbwrap

Import pbwrap to you script and create a Pastebin object.

from pbwrap import Pastebin

pb = Pastebin(your_api_key)

You are now ready to request things from the Pastebin API


It’s reccomended to authenticate as most endpoints require a user_key API is limited without authenticating.

pb.authenticate(username, password)