package tiingo
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
-
final
case class
ClientConfig(apiKey: String, headers: List[HttpHeader], pause: FiniteDuration, timeout: FiniteDuration, baseUrl: Uri) extends Product with Serializable
Configuration for RestClient.
Configuration for RestClient.
- apiKey
The Tiingo API key.
- headers
Additional HTTP headers to include in the API requests.
- pause
The duration to pause between consecutive API requests.
- timeout
The maximum duration to wait for an API request to complete.
- baseUrl
The base URL for the API requests.
-
final
case class
RestClient(config: ClientConfig)(implicit system: ActorSystem) extends Logging with Product with Serializable
Represents a REST client for the Tiingo API.
Represents a REST client for the Tiingo API.
- config
the configuration for the client.
- system
the actor system to be used for the client.
-
final
case class
TiingoClient(apiKey: Option[String] = None, headers: Map[String, String] = Map.empty)(implicit system: ActorSystem, ec: ExecutionContext) extends Product with Serializable
Client for interfacing with the Tiingo API.
Client for interfacing with the Tiingo API.
- apiKey
The Tiingo API key.
- headers
Additional HTTP headers to include in the API requests.
- system
The actor system.
- ec
The execution context.
Value Members
-
object
ClientConfig extends Serializable
Companion object for ClientConfig.
-
object
JsonProtocol extends SprayJsonSupport with DefaultJsonProtocol
Provides the JSON protocol for unmarshalling Tiingo API responses.