Skip to content

Instantly share code, notes, and snippets.

## This Python script interacts with the Linkwarden API to manage tags efficiently.
## It provides two main functionalities:
##
## Save Tags: Fetches all tags from your Linkwarden instance and saves them as a CSV file.
## This allows you to easily view and edit tag names and IDs.
## Update Tags: After modifying the CSV file (such as renaming or removing tags), the script updates your
## Linkwarden instance to reflect these changes. Tags not present in the CSV file will be deleted.
##
## To use this script, you need an API token from your Linkwarden settings page.
## Additionally, ensure the requests library is installed (pip install requests).
@clemenstyp
clemenstyp / schnelltest-availability.js
Last active April 4, 2021 07:51 — forked from marco79cgn/schnelltest-availability.js
Shows the available amount of Covid Tests in your local drug store and online
let country = "de"; // replace with 'at' for shops in Austria
let storeId = 251;
const de_store_items = ["796724", "797046", "797729"];
const at_store_items = ["188896"];
let param = args.widgetParameter;
if (param != null && param.length > 0) {
if (param.indexOf(";") > 0) {
const paramSplit = param.split(";");
storeId = paramSplit[0];
country = paramSplit[1].toLowerCase();