lp-api get people/+me - Get your own account on Launchpad
lp-api get bugs/1 - Get bug #1 on Launchpad
lp-api get ubuntu ws.op==searchTasks tags==focal tags==jammy tags_combinator==All ws.show==total_size - Get the bug count for ubuntu project with both focal and jammy tags
BUILD=$(lp-api get ~ubuntu-cdimage/+livefs/ubuntu/jammy/ubuntu | lp-api .builds_collection_link | jq -r '.entries | .[0] | .web_link'); echo $BUILD - Get the latest build for Ubuntu jammy
while read -r LINK; do lp-api download "$LINK"; done < <(lp-api get "~${BUILD//*~/}" ws.op==getFileUrls | jq -r .[]) - Download all artifacts from the latest build
Install
go install github.com/fourdollars/lp-api@latest
Documentation
See launchpad/SKILL.md for comprehensive usage guide and examples.