You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
swarms/examples/hackathons/hackathon_sep_27/api_client.py

11 lines
224 B

import os
from dotenv import load_dotenv
from swarms_client import SwarmsClient
load_dotenv()
client = SwarmsClient(api_key=os.getenv("SWARMS_API_KEY"))
print(client.health.check())
print(client.client.rate.get_limits())