https://github.com/seven-io/swift-client
Official Swift API Client for the seven.io SMS Gateway
https://github.com/seven-io/swift-client
api-client cnam hlr mnp sdk sms swift swift-client text2speech tts
Last synced: about 19 hours ago
JSON representation
Official Swift API Client for the seven.io SMS Gateway
- Host: GitHub
- URL: https://github.com/seven-io/swift-client
- Owner: seven-io
- License: mit
- Created: 2020-11-04T08:54:26.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-05T13:40:48.000Z (over 2 years ago)
- Last Synced: 2024-01-05T14:39:04.870Z (over 2 years ago)
- Topics: api-client, cnam, hlr, mnp, sdk, sms, swift, swift-client, text2speech, tts
- Language: Swift
- Homepage: https://www.seven.io/en/developer/swift/
- Size: 40 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Official Swift Client for the seven.io SMS Gateway API
## Installation
**Swift Package Manager**
Package.swift:
```swift
let package = Package(
dependencies: [
.package(url: "https://github.com/seven-io/swift-client")
]
)
```
### Usage
```swift
import SevenClient
let apiKey = "MySevenApiKey"
// alternatively setting apiKey to nil will read SEVEN_API_KEY from environment
// let apiKey = nil
let client = try! SevenClient(apiKey: apiKey)
debugPrint(client.balance())
```
#### Tests
```swift test```
##### Support
Need help? Feel free to [contact us](https://www.seven.io/en/company/contact/).
[](LICENSE)