nationstates alternatives and similar packages
Based on the "Networking" category.
Alternatively, view nationstates alternatives based on common mentions on social networks and blogs.
-
websockets
A Haskell library for creating WebSocket-capable servers -
snap-core
Core type definitions (Snap monad, HTTP types, etc) and utilities for web handlers. -
snap-server
A fast HTTP server library, which runs Snap web handlers. -
call-haskell-from-anything
Call Haskell functions from any programming language via serialization and dynamic libraries -
PortFusion
Haskell-powered cross-platform transport-layer distributed reverse / forward proxy & tunneling solution – currently available for all TCP protocols (RDP, VNC, HTTP(S), SSH, ...). -
glirc
Haskell IRC library and console client - Join us on libera.chat #glirc -
io-streams
Simple, composable, and easy-to-use stream I/O for Haskell -
network-transport-zeromq
ZeroMQ transport for distributed-process (aka Cloud Haskell) -
ngx-export
A comprehensive web framework aimed at building custom Haskell handlers for the Nginx Web Server -
HaskellNet
Haskell library which provides client support for POP3, SMTP, and IMAP protocols. -
http-streams
Haskell HTTP client library for use with io-streams -
graphula
A simple interface for generating persistent data and linking its dependencies -
http-types
Generic HTTP types for Haskell (for both client and server code) -
secure-sockets
A library for making secure connections between servers. -
network-transport-tcp
TCP Realisation of Network.Transport -
linklater
A Haskell library for the Slack API (including real-time messaging!)
InfluxDB - Power Real-Time Data Analytics at Scale
* 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 nationstates or a related project?
README
NationStates for Haskell
NationStates is an online government simulation game, created by Max Barry. The site generates a wealth of data, some of which can be accessed through its official API.
This library lets you query this API using the Haskell programming language.
Features
Type safe: you can't refer to a shard unless you explicitly request it.
Automatic rate limiting, which can be disabled or overridden if you want.
HTTPS support via the tls library.
Free and open source under the Apache License, version 2.0.
Dependencies
- GHC 7.6 or newer
Installation
nationstates
is hosted on Hackage.
cabal install nationstates
Example
import NationStates
import qualified NationStates.Nation as Nation
import Text.Printf
main = do
c <- newContext "ExampleBot/2000"
(name, motto) <- Nation.run "Montesardo-East Adanzi" shards c
printf "%s has the motto: %s\n" name motto
where
shards = (,) <$> Nation.name <*> Nation.motto
*Note that all licence references and agreements mentioned in the nationstates README section above
are relevant to that project's source code only.