本文へスキップ

Cloudflare Python SDK

活発
cloudflare/cloudflare-python

Cloudflare 公式の REST API 用 Python ライブラリ。Python 3.9 以降向けに型付きの同期・非同期クライアントを提供し、Stainless で生成されています。

GitHub で見る
スター
518
フォーク
163
ウォッチ
518
未解決の Issue
37

この紹介文は現在英語版のみです。

Overview

The Cloudflare Python library provides convenient access to the Cloudflare REST API from any Python 3.9+ application. It includes type definitions for every request parameter and response field, and offers both synchronous and asynchronous clients powered by httpx. It is generated with Stainless.

Install

pip install cloudflare

Usage

import os
from cloudflare import Cloudflare

client = Cloudflare(api_token=os.environ.get("CLOUDFLARE_API_TOKEN"))

The full API surface is listed in api.md, and the REST API itself is documented on developers.cloudflare.com.

共通のカテゴリとタグで順位付けした、似たオープンソースプロジェクトです。

すべての SDK プロジェクト →