Signature
Parameters
Any
str
default:"on-demand"
str
default:"score-"
Optional[int]
float
default:"5.0"
bool
Returns
list
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
VastAI.search_offers_new(
query: Any = None,
type: str = 'on-demand',
order: str = 'score-',
limit: Optional[int] = None,
storage: float = 5.0,
no_default: bool = False
) -> list
list
from vastai import VastAI
client = VastAI(api_key="YOUR_API_KEY")
result = client.search_offers_new()
print(result)