Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 773 Bytes

README.md

File metadata and controls

39 lines (26 loc) · 773 Bytes

Official Swift Client for the seven.io SMS Gateway API

Installation

Swift Package Manager

Package.swift:

let package = Package(
        dependencies: [
            .package(url: "https://github.com/seven-io/swift-client")
        ]
)

Usage

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.

MIT