Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fmunozmiranda authored Jan 22, 2025
1 parent 9934b48 commit 7e4e5a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The client could be generated with the following parameters:
```go
client, err = meraki.NewClientWithOptions("https://api.meraki.com/",
"MerakiKey",
"true", "AplicationName VendorName")
"true", "AplicationName VendorName Client")
if err != nil {
fmt.Println(err)
return
Expand All @@ -52,7 +52,7 @@ The client can be configured with the following environment variables:
- `MERAKI_BASE_URL`: The base URL, FQDN or IP, of the MERAKI instance.
- `MERAKI_DASHBOARD_API_KEY`: The meraki_key for access to API.
- `MERAKI_DEBUG`: Boolean to enable debugging
- `MERAKI_USER_AGENT`: String, set the User-Agent Format (AplicationName VendorName).
- `MERAKI_USER_AGENT`: String, set the User-Agent Format (AplicationName VendorName Client).

```go
Client, err = meraki.NewClient()
Expand All @@ -66,7 +66,7 @@ Here is an example of how we can generate a client, get a device count and then
```go
client, err = meraki.NewClientWithOptions("https://api.meraki.com/",
"MerakiKey",
"true", "AplicationName VendorName")
"true", "AplicationName VendorName Client")
if err != nil {
fmt.Println(err)
return
Expand Down

0 comments on commit 7e4e5a7

Please sign in to comment.