{"id":32519559,"url":"https://github.com/toddheasley/getset","last_synced_at":"2025-10-28T04:37:06.982Z","repository":{"id":279143468,"uuid":"868603963","full_name":"toddheasley/getset","owner":"toddheasley","description":"Brickset CLI for Mac","archived":false,"fork":false,"pushed_at":"2025-02-28T18:29:03.000Z","size":17185,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-28T21:57:29.803Z","etag":null,"topics":["brickset","ios","lego","macos","swift","swift-package","swiftui"],"latest_commit_sha":null,"homepage":"https://brickset.com/article/52664/api-version-3-documentation","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toddheasley.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-10-06T19:51:47.000Z","updated_at":"2025-02-28T18:46:13.000Z","dependencies_parsed_at":"2025-02-28T21:57:31.543Z","dependency_job_id":null,"html_url":"https://github.com/toddheasley/getset","commit_stats":null,"previous_names":["toddheasley/brickset","toddheasley/getset"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/toddheasley/getset","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddheasley%2Fgetset","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddheasley%2Fgetset/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddheasley%2Fgetset/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddheasley%2Fgetset/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toddheasley","download_url":"https://codeload.github.com/toddheasley/getset/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddheasley%2Fgetset/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281386564,"owners_count":26492014,"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","status":"online","status_checked_at":"2025-10-28T02:00:06.022Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["brickset","ios","lego","macos","swift","swift-package","swiftui"],"created_at":"2025-10-28T04:37:02.781Z","updated_at":"2025-10-28T04:37:06.961Z","avatar_url":"https://github.com/toddheasley.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `GetSet`\n\n__Get LEGO® set info, images and instructions from [Brickset](https://brickset.com/article/52664/api-version-3-documentation)__\n\n`GetSet` extends `URLSession` with async/await functions that return deserialized, modeled set info and media URLs. Search sets by set number, name or keyword query.\n\nRequires a free [Brickset API key](https://brickset.com/tools/webservices/requestkey), persisted safely in the system keychain.\n\n## Command-line interface\n\n![](docs/getset-cli.png)\n\n`GetSet` includes a basic CLI that downloads data, images and building instructions for a given set number, name or keyword query. Demonstrates using the `GetSet` extensions to `URLCredential` and `URLSession`.\n\n### CLI Examples\n\nSet and validate Brickset API key:\n\n```zsh\n./getset-cli key 3-26cC-J3gUn-63bi\n```\n\nDownload images and instructions for a specific set:\n\n```zsh\n./getset-cli get 60098-1 -d\n```\n\nRead the manual:\n\n```zsh\n./getset-cli -h\n```\n\n### Supported Platforms\n\nWritten in [Swift](https://developer.apple.com/swift) 6 for Apple stuff:\n\n* [macOS](https://developer.apple.com/macos) 15 Sequoia\n* [iOS](https://developer.apple.com/ios)/[iPadOS](https://developer.apple.com/ipad)/[tvOS](https://developer.apple.com/tvos) 18\n* [watchOS](https://developer.apple.com/watchos) 11\n* [visionOS](https://developer.apple.com/visionos) 2\n\nBuild with [Xcode](https://developer.apple.com/xcode) 16 or newer. Command-line interface depends on [Swift Argument Parser.](https://github.com/apple/swift-argument-parser)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoddheasley%2Fgetset","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoddheasley%2Fgetset","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoddheasley%2Fgetset/lists"}