-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: wikidata action: blob revision: path_from: search-properties.sh revision_from: refs/heads/trunk: path_to: revision_to:
/ search-properties.sh
refs/heads/trunk:/search-properties.sh #!/usr/bin/env bash if [ ! "$1" ];then printf "usage: %s [search-term]\n" "$0" >&2 exit 1 fi search="$(uriescape "$1" | sed 's/%20/+/g' | sed 's/&/%26/g')" ./search.sh property "$search" #curl -sLH 'Accept: application/json' \ # 'https://www.wikidata.org/w/api.php?action=wbsearchentities&search='"$search"'&format=json&errorformat=plaintext&language=en&uselang=en&type=property'
-- Response ended
-- Page fetched on Sun Jun 2 15:51:10 2024