{"id":20519453,"url":"https://github.com/sebj/steam","last_synced_at":"2025-04-14T02:11:15.531Z","repository":{"id":63920482,"uuid":"350064908","full_name":"sebj/Steam","owner":"sebj","description":"A Swift package to interact directly with Steam.","archived":false,"fork":false,"pushed_at":"2024-01-31T17:59:04.000Z","size":111,"stargazers_count":16,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-20T19:34:33.275Z","etag":null,"topics":["combine","steam","swift"],"latest_commit_sha":null,"homepage":"https://swiftpackageindex.com/sebj/Steam/main/documentation/steam","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/sebj.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}},"created_at":"2021-03-21T17:09:11.000Z","updated_at":"2025-01-09T16:47:45.000Z","dependencies_parsed_at":"2024-01-18T05:26:07.666Z","dependency_job_id":"d1b51b1a-58b7-49a8-a477-39ef15b102b6","html_url":"https://github.com/sebj/Steam","commit_stats":{"total_commits":22,"total_committers":2,"mean_commits":11.0,"dds":"0.13636363636363635","last_synced_commit":"21ffdd0537b502c692eecd6700b6a2738d3f643d"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebj%2FSteam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebj%2FSteam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebj%2FSteam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebj%2FSteam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sebj","download_url":"https://codeload.github.com/sebj/Steam/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248809046,"owners_count":21164896,"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":["combine","steam","swift"],"created_at":"2024-11-15T22:13:55.053Z","updated_at":"2025-04-14T02:11:15.480Z","avatar_url":"https://github.com/sebj.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 💨 Steam\n\n[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fsebj%2Fsteam%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/sebj/steam)\n[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fsebj%2Fsteam%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/sebj/steam)\n[![MIT License](https://img.shields.io/github/license/sebj/steam?color=lightgray)](LICENSE)\n[![Build \u0026 Test](https://github.com/sebj/steam/workflows/Build%20and%20Test/badge.svg)](https://github.com/sebj/steam/actions/workflows/build-and-test.yaml)\n\nA Swift package to directly interact with [Steam](https://store.steampowered.com).\n\n* Login to a Steam account (via password or 2FA code)\n* Retrieve basic user info\n    * Steam identifier\n    * Account flags\n    * Steam Community vanity profile URL\n    * Friends list Steam identifiers \u0026 friend status\n* Add/remove friends\n\n## Installation\n\n### Swift Package Manager (Xcode):\n1. From the **File** menu, select **Add Packages…**\n2. Enter \"https://github.com/sebj/steam\" into the package repository URL text field\n\n### Swift Package Manager (standalone):\n\nAdd the following to the `dependencies` of your `Package.swift` file:\n\n`.package(url: \"https://github.com/sebj/Steam.git\", ...)`\n\n## Usage\n\n1. Choose a server from `SteamServer.defaultServers` or fetch the latest Steam server list using `SteamServersFetcher`.\n2. Instantiate a `SteamService` and connect to the chosen server (`connect`).\n3. `login`\n4. Receive user information and friends list, and use any functions that require user authentication (`addFriend`, `removeFriend` etc) as desired.\n\n## Protobufs\n\nSeveral Steam Protobufs from [SteamDatabase/Protobufs](https://github.com/SteamDatabase/Protobufs) and their converted Swift models (via [Swift Protobuf](https://github.com/apple/swift-protobuf)) are bundled with this library, as Swift packages do not currently support running scripts/custom build phase actions (which would ideally be used to clone the Protobufs repo, convert and copy the relevant files).\n\n## License\n\nThis library is released under the MIT license. See the [LICENSE](LICENSE) file for more information.\n\n## Related Libraries\n\n* [Philipp15b/go-steam](https://github.com/Philipp15b/go-steam)\n* [seishun/node-steam](https://github.com/seishun/node-steam)\n* [ValvePython/steam](https://github.com/ValvePython/steam)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebj%2Fsteam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsebj%2Fsteam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebj%2Fsteam/lists"}