Signature
Parameters
str
required
email address to use for login
str
required
username to use for login
str
required
password to use for login
Optional[str]
host/client
Returns
dict
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
VastAI.create_subaccount(
email: str,
username: str,
password: str,
type: Optional[str] = None
) -> dict
dict
from vastai import VastAI
client = VastAI(api_key="YOUR_API_KEY")
result = client.create_subaccount(email="value", username="value", password="value")
print(result)