Skip to content

vastai_sdk Library Not Documented + Missing Query Format for search_offers() #5

Closed
@kaankutan

Description

@kaankutan

I found that the vastai_sdk library exists but is not mentioned in the Vast.ai documentation. I tried using it, but I couldn't find any documentation on how to properly format queries for the search_offers method.

Steps to Reproduce

  1. Install the Vast.ai Python SDK:
    pip install vastai_sdk
  2. Run the following code:
    import vastai_sdk
    
    v = vastai_sdk.VastAI(api_key='')
    
    print(v.search_offers(query='...', limit=1))  # No documentation for query format
  3. There is no clear documentation on how to structure the query parameter.

Expected Behavior

The documentation should include details on vastai_sdk and the correct query format for search_offers().

Additional Context

  • The official documentation only mentions vastai, but vastai_sdk is available.
  • There is no example or explanation for the query language used in search_offers().

Could you please provide documentation or examples on how to correctly format queries for search_offers()?

Thanks! 🚀

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions