-
Notifications
You must be signed in to change notification settings - Fork 10
3. Usage Examples
Before jumping straight to a fully automated submission, it's best to test each section individually to make sure it's working as expected.
Start with confirming the path to the media file is working:
pythonbits -i /mnt/path/to/file.ext
pythonbits -s /mnt/path/to/file.ext
Register an Application with Imgur and take note of the client ID and the client secret, enter them when prompted and submit the client PIN.
NOTE: If submitting a 4k screenshot, use ptpimg instead of Imgur due to size restrictions.
To find your PTPImg API key, login to https://ptpimg.me, open the web page source:
"View->Developer->View source"
"Open Menu->Web Developer->Page Source"
Search for the string api_key and copy the hexademical string from the value attribute. Your API key should look like: 43fe0fee-f935-4084-8a38-3e632b0be68c.