yahoo-finance-api-0.2.0.3: Read quotes from Yahoo Finance API.

Copyright(c) James M.C. Haver II 2016
LicenseBSD3
Safe HaskellNone
LanguageHaskell2010

Web.Yahoo.Finance.YQL.Internal.API

Description

This is an internal module. Use at your own risk.

Synopsis

Documentation

type YahooFinanceYQLApi = "v1" :> ("public" :> ("yql" :> (QueryParam "q" YQLQuery :> (QueryParam "format" Text :> (QueryParam "env" Text :> (QueryParam "callback" Text :> Get '[JSON] YQLResponse)))))) Source #

Low-level Servant definition of the Yahoo Finance YQL client API.

getQuotesInternal :: Maybe YQLQuery -> Maybe Text -> Maybe Text -> Maybe Text -> ClientM YQLResponse Source #

QueryParam are treated as maybes but Yahoo requires that all the fields be filled except for "callback". Quotes are returned in the order they are queried.

format default is "json" env default is "store:/datatables.orgalltableswithkeys" The order of arguments varies slightly with each version of Servant.