pastebin- python wrapper for the pastebin api |
git clone git://git.acid.vegas/pastebin.git |
Log | Files | Refs | Archive | README | LICENSE |
commit 9b9b9d88414c00046b65cf1e8686b496f6bddaa0
parent e09974fa4b9172b18b36a8e19c7cd949be24321b Author: acidvegas <acid.vegas@acid.vegas> Date: Thu, 18 May 2023 16:46:14 -0400 Cleanup Diffstat:
|
1 file changed, 4 insertions(+), 4 deletions(-) |
diff --git a/README.md b/README.md @@ -9,10 +9,10 @@ ```python #!/usr/bin/env python import pastebin -api_dev_key = 'CHANGEME' -api = pastebin.PasteBin(api_dev_key) -data = open(__file__).read() -result = api.paste(data, guest=True, name='Example Script', format='Python', private='1', expire='10M') +api_key = 'CHANGEME' +api = pastebin.PasteBin(api_key) +data = open(__file__).read() +result = api.paste(data, guest=True, name='Example Script', format='Python', private='1', expire='10M') print('PasteBin URL: ' + result) ``` |