Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5fdf1d6

Browse files
chore(internal): codegen related update
1 parent543bc5b commit5fdf1d6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

‎README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ import os
2626
from cloudflareimport Cloudflare
2727

2828
client= Cloudflare(
29-
api_email=os.environ.get("CLOUDFLARE_EMAIL"),# This is the default and can be omitted
30-
api_key=os.environ.get("CLOUDFLARE_API_KEY"),# This is the default and can be omitted
29+
api_token=os.environ.get("CLOUDFLARE_API_TOKEN"),# This is the default and can be omitted
3130
)
3231

3332
zone= client.zones.create(
@@ -53,8 +52,7 @@ import asyncio
5352
from cloudflareimport AsyncCloudflare
5453

5554
client= AsyncCloudflare(
56-
api_email=os.environ.get("CLOUDFLARE_EMAIL"),# This is the default and can be omitted
57-
api_key=os.environ.get("CLOUDFLARE_API_KEY"),# This is the default and can be omitted
55+
api_token=os.environ.get("CLOUDFLARE_API_TOKEN"),# This is the default and can be omitted
5856
)
5957

6058

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp