Skip to content

Commit

Permalink
Use a standard naming convention for API Keys
Browse files Browse the repository at this point in the history
This implements a standard naming convention across the docs and all
other places we are referencing the "API Key"
  • Loading branch information
anthonycastelli committed Apr 10, 2024
1 parent eac9456 commit 7a0a6db
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/flutter/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ To configure the AppFit SDK, simply construct an `AppFitConfiguration` class and
Your API Key can be obtained from your AppFit Dashboard.

```dart
final configuration = AppFitConfiguration(apiKey: '<key>');
final configuration = AppFitConfiguration(apiKey: 'API_KEY');
final appFit = AppFit(configuration: configuration);
```

Expand All @@ -18,7 +18,7 @@ import 'package:appfit/appfit.dart';
void main() {
// Create the AppFitConfiguration
final configuration = AppFitConfiguration(apiKey: '<key>');
final configuration = AppFitConfiguration(apiKey: 'API_KEY');
// Create the AppFit Client
final appFit = AppFit(configuration: configuration);
Expand Down
2 changes: 1 addition & 1 deletion docs/kotlin/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ A full example can be found below.
import appfit;

// Create the AppFitConfiguration
val configuration = AppFitConfiguration(apiKey = "<key>")
val configuration = AppFitConfiguration(apiKey = "API_KEY")

// Create the AppFit Client
val appFit = AppFit(configuration = configuration)
Expand Down
6 changes: 3 additions & 3 deletions docs/swift/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ To configure the AppFit SDK, simply construct an `AppFitConfiguration` class and
Your API Key can be obtained from your AppFit Dashboard.

```swift
let configuration = AppFitConfiguration(apiKey: "<key>")
let configuration = AppFitConfiguration(apiKey: "API_KEY")
let appFit = AppFit(configuration: configuration)
```

Expand All @@ -14,10 +14,10 @@ Once you have the client constructed, tracking an event is as simple as calling
A full example can be found below.

```swift
import AppFit;
import AppFit

// Create the AppFitConfiguration
let configuration = AppFitConfiguration(apiKey: "<key>")
let configuration = AppFitConfiguration(apiKey: "API_KEY")

// Create the AppFit Client
let appFit = AppFit(configuration: configuration)
Expand Down

0 comments on commit 7a0a6db

Please sign in to comment.