https://github.com/serhii-londar/steamlogin
Steam library for login user and retreive steam user id.
https://github.com/serhii-londar/steamlogin
login steam steam-api steamworks swift-4 swift-library swift4
Last synced: about 1 year ago
JSON representation
Steam library for login user and retreive steam user id.
- Host: GitHub
- URL: https://github.com/serhii-londar/steamlogin
- Owner: serhii-londar
- License: mit
- Created: 2017-07-27T21:38:46.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2022-10-31T01:38:27.000Z (over 3 years ago)
- Last Synced: 2025-03-24T03:04:30.808Z (about 1 year ago)
- Topics: login, steam, steam-api, steamworks, swift-4, swift-library, swift4
- Language: Swift
- Homepage:
- Size: 1.15 MB
- Stars: 14
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SteamLogin
Steam library for login user and retreive steam user id. Written in pure swift and support iOS 9 and more.
[](https://travis-ci.org/serhii-londar/SteamLogin)
[](http://cocoapods.org/pods/SteamLogin)
[](http://cocoapods.org/pods/SteamLogin)
[](http://cocoapods.org/pods/SteamLogin)
## Example
To run the example project, clone the repo, and run `pod install` from the root directory first.
Login proces is simple as:
```swift
SteamLoginVC.login(from: self) { [weak self] (user, error) in
if let user = user {
self?.steamUser = user
self?.showSuccessAlert()
} else {
self?.showErrorAlert(error)
}
}
```
## Installation
SteamLogin is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:
```ruby
pod 'SteamLogin'
```
## Author
Github: [Serhii Londar](https://github.com/serhii-londar)
Email: [serhii.londar@gmail.com](mailto:serhii.londar@gmail.com)
## License
SteamLogin is available under the MIT license. See the LICENSE file for more info.