Last active
March 10, 2024 17:47
-
-
Save camilajenny/63a22ade45e58e726efc56bb3a3e6e1d to your computer and use it in GitHub Desktop.
remove duplicated tags from Joplin
from joppy.api import Api
API_TOKEN = "token"
def get_api():
# Create a new Api instance.
api = Api(token=API_TOKEN)
return api
Nice script. Please note, if you use a newer version of joppy (from 0.1.0 on), the API responses are objects and not dicts anymore. You can use for example tag.title
instead of tag['title']
.
@marph91 thanks, I updated the script
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
total of removed tags: 471
--- 528.98 seconds ---