Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module provides a complete and type-safe API specification for Ziptastic's forward and reverse geocoding API using Servant (https://www.getziptastic.com/).
To use this specification in your application, try the ziptastic-client
package.
- type Api = "v3" :> (Header "x-key" ApiKey :> ApiEndpoints)
- newtype ApiKey = ApiKey {}
- newtype ForApi a = ForApi a
- data LocaleCoords = LocaleCoords {}
- data LocaleInfo = LocaleInfo {}
- baseUrlHost :: String
- baseUrlIsHttps :: Bool
- baseUrlPath :: String
- baseUrlPort :: Int
Documentation
A generic wrapper for giving external data types instances for our uses.
ForApi a |
data LocaleCoords Source #
LocaleCoords | |
|
data LocaleInfo Source #
LocaleInfo | |
|
baseUrlHost :: String Source #
baseUrlPath :: String Source #
baseUrlPort :: Int Source #