Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 1.84 KB

README.md

File metadata and controls

56 lines (40 loc) · 1.84 KB

HypeLabs

HypeLabs Connect SDK

The Python client for the HypeLabs Connect API.

Requirements

  • Python 3.10 or later
  • A HypeLabs Connect API key (hl_live_…)

The client authenticates with an API key, so run it server-side (a backend or a job) — never ship your key to a browser or a client app.

Install

  1. Add the package:

    pip install hypelabs-connect
  2. Create your organization on the HypeLabs Console and generate an API key.

Usage

Create a client with your API key and call the API. Every call is async and returns typed models.

import asyncio
from hypelabs_connect import create_connect_client

client = create_connect_client("hl_live_...")


async def main():
    proxies = await client.proxies.get()
    for proxy in proxies or []:
        print(proxy.id)


asyncio.run(main())

The API is authenticated with the X-Api-Key header, wired up internally — you never touch the Kiota plumbing.