Skip to content

Commit e489f21

Browse files
committed
readme updates
1 parent 0605e4d commit e489f21

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Complete setup information can be found in the [Turso quickstart guide](https://
1515
```
1616

1717
# Usage
18-
First install the package:
18+
Install the package in your project.
1919
```
2020
dotnet add package rthomasv3.TursoPlatformApi
2121
```
@@ -39,9 +39,9 @@ await tursoPlatformService.Databases.List();
3939
| ITursoAuditLogsService | View audit logs. |
4040
| ITursoApiTokensService | Manage platform API tokens. |
4141

42+
## Dependency Injection
4243
The easiest way to use the Turso Platform API Service is using dependency injection.
4344

44-
## Dependency Injection
4545
Add a `TursoPlatformApi` section to your `appsettings.json` file. Use `appsettings.Development.json` to avoid keys ending up in your repo.
4646

4747
```json
@@ -53,7 +53,7 @@ Add a `TursoPlatformApi` section to your `appsettings.json` file. Use `appsettin
5353
}
5454
```
5555

56-
After that you can add Turso Platform API Service using the provided services extension method.
56+
After that you can add Turso Platform API Service using the provided services extension method. If you prefer, you can pass in your org slug and API key to the `AddTursoPlatformService` method instead of using `appsettings.json`.
5757

5858
```c#
5959
builder.Services.AddTursoPlatformService();

0 commit comments

Comments
 (0)