/pastelib_old

This is a library for accessing pastebin easly

Primary LanguagePython

The updated reposition is at https://github.com/TheDiamondOG/pastelib\

Pastelib

By TheDiamondOG
Source Code: https://github.com/thediamondog/pastelib


Functions set_api_key(API_Key) This is needed for most of the functions in this library You get your API Key at https://pastebin.com/doc_api

create_paste(text, Name, privacy, formate) This creates a paste (An API Key is needed)

delete_paste(paste_id) This deletes a paste (An API Key is needed)

get_paste(paste_id) This gets the info in a paste

get_paste_id(paste_link) This gets the paste id of a paste


Varibles api_keys This varible is used after you use set_api

paste_url This varible is used after you use create_paste to get the new paste's url

paste_text This varible is used after you use get_paste

paste_id This varible is used after you use get_paste_id to get the paste id