Skip to main content
Every Polaris SDK exposes the same workflows under language-idiomatic names. Use this page to find the method for the job, then open the linked schema page for parameters, return types, and fields.

Language differences

  • Time arguments: Python uses from_ and to; TypeScript uses from and to; Rust packs them into query structs (HistoricalQuery, ReplayQuery, StreamQuery). All accept ISO 8601 strings, native date types, or epoch milliseconds. In every language, from is inclusive and to is exclusive.
  • Output shape: Python and Rust stream single-pass iterators; TypeScript materializes arrays. Python adds output="batches" (PyArrow) and output="dataframe" (pandas) on the methods that support it.
  • Omitted boundaries: historical methods resolve the most recent available window, up to the last 7 days of data or the public cutoff date for preview datasets.
  • Realtime: stream(...) yields live standardized events; every historical method has the same field semantics as its streamed counterpart.
For installation, authentication, storage locations, and error types, open the page for your language: Python, TypeScript, or Rust.