Skip to content

Commit

Permalink
docs: add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
BolajiAyodeji authored Jun 26, 2024
1 parent d5363fd commit a020dba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Next, initialize APItoolkit in your application's entry point (e.g., `Program.cs
```csharp
using ApiToolkit.Net;

// Initialize the APItoolkit client
var config = new Config
{
ApiKey = "{ENTER_YOUR_API_KEY_HERE}",
Expand All @@ -45,6 +46,7 @@ var config = new Config
ServiceVersion: "v2.0",
};
var client = await APIToolkit.NewClientAsync(config);
// END Initialize the APItoolkit client
# Register the middleware to use the initialized client
app.Use(async (context, next) =>
Expand Down

0 comments on commit a020dba

Please sign in to comment.