Skip to content

salehjg/SimplePasteBin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SimplePasteBin

A Simple Python3 Library For PasteBin.com

Example

Instantiate the class, login, and create a paste.

import SimplePasteBin as helper

pb = helper.SimplePasteBin(
    username='<YOUR USERNAME>',
    password='<YOUR PASSWORD>',
    api_key='<YOUR API KEY>',
    is_verbose=True)

ret_val = pb.login()
ret_val += pb.create_paste('title1', 'my paste content', 'N', 'public')

if ret_val == 0:
    exit(0)
else:
    exit(1)

About

A Simple Python3 Library For PasteBin.com

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages