An open API service indexing awesome lists of open source software.

https://github.com/argmaxinc/argmax-sdk-swift-playground

Argmax SDK Swift Playground
https://github.com/argmaxinc/argmax-sdk-swift-playground

Last synced: 12 months ago
JSON representation

Argmax SDK Swift Playground

Awesome Lists containing this project

README

          

# Argmax SDK Swift Playground

This repository hosts the source code for [Argmax Playground](https://testflight.apple.com/join/Q1cywTJw). It is open-sourced to demonstrate best practices when using the [Argmax SDK](https://argmaxinc.com/#SDK) through an end-to-end example app. Specifically, this app demonstrates Real-time Transcription, File Transcription and Diarized Transcription.

---

## Getting Started

### 1. Clone the Repository

```bash
git clone https://github.com/argmaxinc/argmax-sdk-swift-playground.git
cd argmax-sdk-swift-playground
```

### 2. Open the Project

```bash
open Playground.xcodeproj
```

---

## Configuration

Before running the app, you must complete these setup steps:

### 1. Select Development Team
In Xcode, select your app target and go to **Signing & Capabilities**. Choose your **Development Team** from the dropdown to enable code signing.

### 2. Add Your API Key
In order to unlock the SDK, you will need to provide your API key. You can create one at [https://app.argmaxinc.com](https://app.argmaxinc.com).

In `DefaultEnvInitializer.swift`, update the following code with your credentials:

```swift
public class DefaultEnvInitializer: PlaygroundEnvInitializer {

public func createAPIKeyProvider() -> APIKeyProvider {
return PlainTextAPIKeyProvider(
apiKey: "", // TODO: Add your Argmax SDK API key
)
}
}
```

> **Do not commit your API key.**.