hurriyet alternatives and similar packages
Based on the "Networking" category.
Alternatively, view hurriyet alternatives based on common mentions on social networks and blogs.
-
snap-core
Core type definitions (Snap monad, HTTP types, etc) and utilities for web handlers. -
call-haskell-from-anything
Call Haskell functions from any programming language via serialization and dynamic libraries -
snap-server
A fast HTTP server library, which runs Snap web handlers. -
PortFusion
Haskell-powered cross-platform transport-layer distributed reverse / forward proxy & tunneling solution – currently available for all TCP protocols (RDP, VNC, HTTP(S), SSH, ...). -
network-transport-zeromq
ZeroMQ transport for distributed-process (aka Cloud Haskell) -
io-streams
Simple, composable, and easy-to-use stream I/O for Haskell -
HaskellNet
Haskell library which provides client support for POP3, SMTP, and IMAP protocols. -
glirc
Haskell IRC library and console client - Join us on libera.chat #glirc -
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) -
ngx-export
Nginx module for binding Haskell code in configuration files for great good! -
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!) -
http-client-streams
http-client for io-streams supporting openssl
Access the most powerful time series database as a service
* 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 hurriyet or a related project?
README
hurriyet-haskell
Haskell bindings for Hurriyet API - http://developers.hurriyet.com.tr/
Getting Started
This section provides just enough material to get you started. For a more sophisticated illustration of the library, visit https://hackage.haskell.org/package/hurriyet for documentation.
To get started, do the following steps:
- Install the package
$ cabal install hurriyet
- Go and get your api key from http://developers.hurriyet.com.tr/ while the package is being installed
- And start using it! See below for examples
Examples
Get the list of articles
import Hurriyet
import Hurriyet.Services
client :: Client
client = getClient "<API KEY>"
main = do
response <- withClient client getArticles
case response of
Left err -> print err
Right articles -> print articles
Get the metadata of the first file of the first article
import Hurriyet
import Hurriyet.Services
import Hurriyet.Services.Article
import Hurriyet.Services.File
client :: Client
client = getClient "<API KEY>"
main = do
response <- withClient client getArticles
case response of
Left err -> print err
Right (article:_) -> print . metadata . head $ files article
Note that in order to use any accessor method for any of the services, you should import the relative service. See here for more detailed information regarding services.
Contributing
This library is currently maintained by me, and appreciate any contributions even if they just update the docs. There are beginner-friendly issues in here, and I encourage you to see if you can contribute in any way.
LICENSE
[MIT License](LICENSE)
*Note that all licence references and agreements mentioned in the hurriyet README section above
are relevant to that project's source code only.