Skip to content

Commit

Permalink
chore: sync changes (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot authored Jan 25, 2024
1 parent 1045b31 commit 7cd4211
Show file tree
Hide file tree
Showing 1,411 changed files with 361,949 additions and 4,735 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
configured_endpoints: 126
configured_endpoints: 1359
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@ import (

func main() {
client := cloudflare.NewClient(
option.WithAPIKey("my-cloudflare-api-key"), // defaults to os.LookupEnv("CLOUDFLARE_API_KEY")
option.WithEmail("[email protected]"), // defaults to os.LookupEnv("CLOUDFLARE_EMAIL")
option.WithAPIEmail("[email protected]"), // defaults to os.LookupEnv("CLOUDFLARE_API_EMAIL")
option.WithAPIKey("my-cloudflare-api-key"), // defaults to os.LookupEnv("CLOUDFLARE_API_KEY")
option.WithAPIToken("my-cloudflare-api-token"), // defaults to os.LookupEnv("CLOUDFLARE_API_TOKEN")
option.WithUserServiceKey("my-cloudflare-user-service-key"), // defaults to os.LookupEnv("CLOUDFLARE_USER_SERVICE_KEY")
)
zoneNewResponse, err := client.Zones.New(context.TODO(), cloudflare.ZoneNewParams{
Account: cloudflare.F(cloudflare.ZoneNewParamsAccount{
Expand Down
Loading

0 comments on commit 7cd4211

Please sign in to comment.