Using Python, JSON, and HTTP GET/POST requests to interface with the Pocket API and retrieve/delete tagged entries. This specific project deletes all Pocket entries with the tag "TIL."
Prerequisites: Set up a consumer key under Pocket Developer, install requests Python Module through pip.
- Modify "0. Pocket Web TIL Scraper.json" to match the properties of Pocket entries that you want to delete.
- Run "1. Post Request to Retrieve Pocket.py" to generate JSON Data of matching Pocket entries as "2. JSON Data (Pocket Articles Tagged TIL).json".
- Run "3. Generate Deletion Commands.py" to generate delete commands for Pocket entries as "4. JSON Delete Commands (Pocket Articles Tagged TIL).json".
- Run "5. Post Request to Delete Pocket.py" to delete and generate server output as "6. Post Request Output.txt".
- Hopefully your output file should generate “action_results”:[true,true,…]∎! Enjoy!