Learning signing Launchpad API requests with shell commands.
https://gitlab.com/brlin/launchpad-api-request-signing-lab
- Pick a consumer key.
- Get a request token and secret pair by running the get-request-token.sh program (example output).
- Get a access token and secret pair by running the get-access-token.sh program (example output).
- Test calling the Launchpad API with the OAuth access token and secret pair by running the test-access-token.sh program (example output).
Refer the file header of each program for the accepted input environment variables.
The following material is referenced during the development of this project:
- API/SigningRequests - Launchpad Help
Explains how to sign Launchpad API requests. - curl(1) manual page
Explains how to use the command-line options of the curl(1) command. - Regular expression - Wikipedia
Explains what does the[:print:]
character class do.
Unless otherwise noted(individual file's header/REUSE.toml), this product is licensed under the MIT license, or any of its recent versions you would prefer.
This work complies to the REUSE Specification, refer the REUSE - Make licensing easy for everyone website for info regarding the licensing of this product.