This commit is contained in:
Dionysus 2023-05-18 16:46:14 -04:00
parent e09974fa4b
commit 9b9b9d8841
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE

View File

@ -9,10 +9,10 @@
```python ```python
#!/usr/bin/env python #!/usr/bin/env python
import pastebin import pastebin
api_dev_key = 'CHANGEME' api_key = 'CHANGEME'
api = pastebin.PasteBin(api_dev_key) api = pastebin.PasteBin(api_key)
data = open(__file__).read() data = open(__file__).read()
result = api.paste(data, guest=True, name='Example Script', format='Python', private='1', expire='10M') result = api.paste(data, guest=True, name='Example Script', format='Python', private='1', expire='10M')
print('PasteBin URL: ' + result) print('PasteBin URL: ' + result)
``` ```