Popularity
3.7
Declining
Activity
0.0
Stable
6
2
1
Monthly Downloads: 6
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Weather alternatives and similar packages
Based on the "API" category.
Alternatively, view Weather alternatives based on common mentions on social networks and blogs.
-
serverless-haskell
Deploying Haskell applications to AWS Lambda with Serverless -
stratosphere
Haskell EDSL and type-checker for AWS CloudFormation templates -
amazonka-s3-streaming
Provides a conduit based interface to uploading data to S3 using the Multipart API -
servant-to-elm
Generate Elm client libraries from Servant API definitions. -
github-webhooks
Haskell types and instances for decoding GitHub webhook payloads. -
reflex-gadt-api
Interact with a JSON-serialized API defined by a GADT in your reflex-dom application -
aws-kinesis-client
A producer/consumer client library for Kinesis -
language-cil
Manipulating Common Intermediate Language AST in Haskell -
hw-kafka-avro
SchemaRegistry bindings with Avro scheme to use with kafka-client -
aws-performance-tests
Performance Tests for the Haskell Bindings for Amazon Web Services (AWS) -
aws-sign4
Haskell implementation of the AWS Signature V4 protocol for signing HTTP requests -
aws-configuration-tools
Configuration types, parsers and renderers for AWS services using configuration-tools -
arbor-postgres
Convenience types and functions to make postgresql-simple easier and less error-prone to use. -
aws-cloudfront-signer
Haksell library package for signing URL requests to the AWS CloudFront service -
github-backup
backs up everything github knows about a repository, to the repository -
aws-elastic-transcoder
extension to the Haskell AWS repository to interface to the AWS Elastic Transcoder service -
themoviedb
Simple Haskell library that provides functions for retrieving movie metadata from TheMovieDB
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
Promo
www.influxdata.com
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Weather or a related project?
README
weather
Haskell library for working with the Weather Underground JSON API.
Currently only supports querying for conditions for US-based cities.
Example usage:
{-# LANGUAGE RecordWildCards #-}
module Main where
import Web.Weather
mykey :: APIKey
mykey = "top-secret"
mycity, mystate :: String
mycity = "Detroit"
mystate = "MI"
main :: IO ()
main = do
resp <- getConditions mykey mycity mystate
case resp of
Nothing -> putStrLn "No data for that city/state"
Just (Observation{..}) -> do
putStrLn $ "Observation time: " ++ obsTime
putStrLn $ "Weather conditions: " ++ obsWeather
putStrLn $ "Temp: " ++ show obsTemp
putStrLn $ "Rel humidity: " ++ show obsRelHumidity
putStrLn $ "Wind: " ++ obsWind
putStrLn $ "Feels like: " ++ obsFeelsLike
Output:
Observation time: Last Updated on April 10, 2:09 PM EDT
Weather conditions: Partly Cloudy
Temp: 52.9
Rel humidity: "60%"
Wind: From the West at 4.7 MPH
Feels like: 52.9 F (11.6 C)