Skip to main content

Python SDK

Python SDK for API integration

Overview

Python SDK for TheGlobalFuel.

PyPI Package

  • Package: theglobalfuel-sdk

Installation

pip install theglobalfuel-sdk

Repository

Usage

from theglobalfuel_sdk import TheGlobalFuelClient

client = TheGlobalFuelClient(
api_key=os.getenv("THEGLOBALFUEL_API_KEY")
)

Features

  • Async/await support
  • Type hints
  • GraphQL client
  • Authentication helpers