Skip to content

argmaxinc/argmax-sdk-swift-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Argmax SDK Swift Playground

This repository hosts the source code for Argmax Playground. It is open-sourced to demonstrate best practices when using the Argmax 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

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

2. Open the Project

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.

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

public class DefaultEnvInitializer: PlaygroundEnvInitializer {

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

Do not commit your API key..

About

Argmax SDK Swift Playground

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages