Types:
from steel.types import PdfResponse, ScrapeResponse, ScreenshotResponse
Methods:
client.pdf(**params) -> PdfResponse
client.scrape(**params) -> ScrapeResponse
client.screenshot(**params) -> ScreenshotResponse
Types:
from steel.types import (
Session,
SessionContext,
Sessionslist,
SessionListResponse,
SessionReleaseResponse,
SessionReleaseAllResponse,
)
Methods:
client.sessions.create(**params) -> Session
client.sessions.retrieve(id) -> Session
client.sessions.list(**params) -> SyncSessionsCursor[SessionListResponse]
client.sessions.context(id) -> SessionContext
client.sessions.release(id) -> SessionReleaseResponse
client.sessions.release_all() -> SessionReleaseAllResponse