Skip to content
Start free trial

SDKs

These pages describe the current releases: rayobrowse 2.3.0 on PyPI and rayobrowse 0.3.0 on npm.

Both call https://browser.rayobyte.com by default and export that value as DEFAULT_ENDPOINT. A client takes your API key and nothing else.

GET /connect is one HTTP request and its response is a URL. curl, httpx, fetch and every other HTTP client already do the job, and the CDP URL they get is identical.

Install an SDK when you want what it wraps:

  • Reconnection by session id without building the query yourself
  • The live-view URL held on the client rather than dug out of a header
  • Typed exceptions instead of status-code branching
  • Session close and listing as method calls
HTTP /connectSDK
CreateGET /connect returns the CDP URLconnect_url() returns the CDP URL
ReconnectsessionId query parameterreconnect_url(session_id)
Live viewx-vnc-url response headerlast_vnc_url / vncUrl
ClosePOST /api/browser/closeclose()
ErrorsHTTP status plus bodyTyped exceptions
DependenciesNoneOne package

The SDK calls the same endpoint. Nothing it does is unavailable over HTTP.

The SDKs do not supply a proxy for you. Pass one to connect_url() or connectUrl() on every call, or the gateway returns 400 PROXY_REQUIRED before a browser is started. See Proxy support.

Was this page helpful?