{"id":15099138,"url":"https://github.com/brlin-tw/launchpad-api-request-signing-lab","last_synced_at":"2026-01-06T16:57:54.665Z","repository":{"id":254017993,"uuid":"845229539","full_name":"brlin-tw/launchpad-api-request-signing-lab","owner":"brlin-tw","description":"Learning signing Launchpad API requests with shell commands.","archived":false,"fork":false,"pushed_at":"2024-08-21T09:03:17.000Z","size":49,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T19:46:11.110Z","etag":null,"topics":["bash","curl","launchpad"],"latest_commit_sha":null,"homepage":"https://gitlab.com/brlin/launchpad-api-request-signing-lab","language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brlin-tw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSES/CC-BY-SA-4.0.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-20T20:58:57.000Z","updated_at":"2024-08-21T09:03:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"ba3c91d4-fe69-40b9-adbd-d12563e7e60b","html_url":"https://github.com/brlin-tw/launchpad-api-request-signing-lab","commit_stats":{"total_commits":17,"total_committers":1,"mean_commits":17.0,"dds":0.0,"last_synced_commit":"6716b6bba066b296a4f464a7e23c95b9048438a0"},"previous_names":["brlin-tw/launchpad-api-request-signing-lab"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brlin-tw%2Flaunchpad-api-request-signing-lab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brlin-tw%2Flaunchpad-api-request-signing-lab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brlin-tw%2Flaunchpad-api-request-signing-lab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brlin-tw%2Flaunchpad-api-request-signing-lab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brlin-tw","download_url":"https://codeload.github.com/brlin-tw/launchpad-api-request-signing-lab/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245878929,"owners_count":20687297,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","curl","launchpad"],"created_at":"2024-09-25T17:06:17.112Z","updated_at":"2026-01-06T16:57:54.630Z","avatar_url":"https://github.com/brlin-tw.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Learning signing Launchpad API requests\n\nLearning signing Launchpad API requests with shell commands.\n\n\u003chttps://gitlab.com/brlin/launchpad-api-request-signing-lab\u003e  \n[![The GitLab CI pipeline status badge of the project's `main` branch](https://gitlab.com/brlin/launchpad-api-request-signing-lab/badges/main/pipeline.svg?ignore_skipped=true \"Click here to check out the comprehensive status of the GitLab CI pipelines\")](https://gitlab.com/brlin/launchpad-api-request-signing-lab/-/pipelines) [![GitHub Actions workflow status badge](https://github.com/brlin-tw/launchpad-api-request-signing-lab/actions/workflows/check-potential-problems.yml/badge.svg \"GitHub Actions workflow status\")](https://github.com/brlin-tw/launchpad-api-request-signing-lab/actions/workflows/check-potential-problems.yml) [![pre-commit enabled badge](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\u0026logoColor=white \"This project uses pre-commit to check potential problems\")](https://pre-commit.com/) [![REUSE Specification compliance badge](https://api.reuse.software/badge/gitlab.com/brlin/launchpad-api-request-signing-lab \"This project complies to the REUSE specification to decrease software licensing costs\")](https://api.reuse.software/info/gitlab.com/brlin/launchpad-api-request-signing-lab)\n\n## Usage\n\n1. Pick a consumer key.\n1. Get a request token and secret pair by running [the get-request-token.sh program](get-request-token.sh) ([example output](get-request-token.sample.out.txt)).\n1. Get a access token and secret pair by running [the get-access-token.sh program](get-access-token.sh) ([example output](get-access-token.sample.out.txt)).\n1. Test calling the Launchpad API with the OAuth access token and secret pair by running [the test-access-token.sh program](test-access-token.sh) ([example output](test-access-token.sample.out.txt)).\n\nRefer the file header of each program for the accepted input environment variables.\n\n## References\n\nThe following material is referenced during the development of this project:\n\n* [API/SigningRequests - Launchpad Help](https://help.launchpad.net/API/SigningRequests)  \n  Explains how to sign Launchpad API requests.\n* curl(1) manual page  \n  Explains how to use the command-line options of the curl(1) command.\n* [Regular expression - Wikipedia](https://en.wikipedia.org/wiki/Regular_expression)  \n  Explains what does the `[:print:]` character class do.\n\n## Licensing\n\nUnless otherwise noted(individual file's header/[REUSE.toml](REUSE.toml)), this product is licensed under [the MIT license](https://opensource.org/license/mit), or any of its recent versions you would prefer.\n\nThis work complies to [the REUSE Specification](https://reuse.software/spec/), refer the [REUSE - Make licensing easy for everyone](https://reuse.software/) website for info regarding the licensing of this product.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrlin-tw%2Flaunchpad-api-request-signing-lab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrlin-tw%2Flaunchpad-api-request-signing-lab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrlin-tw%2Flaunchpad-api-request-signing-lab/lists"}