Difference between revisions of "Network.Curl"

From HaskellWiki
Jump to navigation Jump to search
(Added a link to a blog entry)
m (→‎External Examples and Tutorials: remove spurious HTML formatting)
 
(10 intermediate revisions by 3 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>
For a short example, see the blog entry [http://blog.tupil.com/a-small-mashup-of-upcoming-and-lastfm-in-haskell/ A small mashup of Upcoming and Last.fm, in Haskell]
 
  +
<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.

Trivial Use

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

External Examples and Tutorials