Skip to content

A command line tool made by golang to interact with Launchpad API

License

Notifications You must be signed in to change notification settings

fourdollars/lp-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lp-api

A command line tool made by golang to interact with Launchpad API https://api.launchpad.net/devel.html

  • lp-api get people/+me to get your own account on Launchpad.
  • lp-api get bugs/1 to get bug #1 on Launchpad.
  • lp-api get ubuntu ws.op==searchTasks tags==focal tags==jammy tags_combinator==All ws.show==total_size to get the bug number of ubuntu project with both of 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 to 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 .[]) to download all artifacts from the latest build for Ubuntu jammy.

Install

go install github.com/fourdollars/lp-api@latest

About

A command line tool made by golang to interact with Launchpad API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages