Via my work on the
Moreover, one can create a user
key, for command-line remote
access; here is an example below (the file
x-dcs-apikey: followed by my access key).
curl -X GET "https://codesearch.debian.net/api/v1/searchperpackage?query=application/x-xcf&match_mode=literal" -H @dcs-apikeyHeader-plessy.txt > result.json
The result is serialised in JSON. Here is how I transformed it to make a
list of email addresses that I could easily paste in
cat result.json | jq --raw-output '.."package"' | dd-list --stdin | sed -e '/^ /d' -e '/^$/'d -e 's/$/,/' -e 's/^/ /'