Personal tools

Network.Curl

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
(stub page for curl bindings)
 
m (External Examples and Tutorials: remove spurious HTML formatting)
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Network.Curl ==
 
 
 
This page collections documentation and examples about the library
 
This page collections documentation and examples about the library
 
[http://hackage.haskell.org/cgi-bin/hackage-scripts/package/curl-1.3.2 Network.Curl], ([http://code.haskell.org/~dons/docs/curl/ docs]) a [http://curl.haxx.se/ curl] binding for Haskell,
 
[http://hackage.haskell.org/cgi-bin/hackage-scripts/package/curl-1.3.2 Network.Curl], ([http://code.haskell.org/~dons/docs/curl/ docs]) a [http://curl.haxx.se/ curl] binding for Haskell,
 
developed at Galois, Inc.
 
developed at Galois, Inc.
  +
  +
<h2>Trivial Use</h2>
  +
<pre>
  +
$ ghci
  +
Prelude> :m Network.Curl
  +
Prelude Network.Curl> let html = curlGetString "http://www.haskell.org/" []
  +
</pre>
  +
  +
==External Examples and Tutorials==
  +
  +
* [http://blog.tupil.com/a-small-mashup-of-upcoming-and-lastfm-in-haskell/ A small mashup of Upcoming and Last.fm, in Haskell]
  +
  +
* [http://hpaste.org/8521 A small example similar to above for retrieving and processing rss in a trivial fashion using Network.Curl and Text.XML.Light]
  +
  +
* [http://hpaste.org/8521#a1 A small example] using the [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/feed feed] library, to simplify RSS parsing.
  +
  +
[[Category:Web]]
  +
[[Category:Packages]]

Latest revision as of 09:29, 5 July 2013

This page collections documentation and examples about the library Network.Curl, (docs) a curl binding for Haskell, developed at Galois, Inc.

1 Trivial Use

$ ghci
Prelude> :m Network.Curl
Prelude Network.Curl> let html = curlGetString "http://www.haskell.org/" []

[edit] 2 External Examples and Tutorials