delicious-0.3.3: Accessing the del.icio.us APIs from Haskell (v2)

Portabilityportable
Stabilityprovisional
MaintainerSigbjorn Finne <sigbjorn.finne@gmail.com>

Network.Delicious.JSON

Description

Synopsis

Documentation

getURLDetails :: String -> DM URLDetailsSource

Retrieve tags associated with a url from delicious. An example, extract the tags associated with xmonad:

 > getURLSummary "http://xmonad.org/"

       (URLDetails {total = 283
                   ,tags = [("haskell",176)
                           ,("windowmanager",133)
                           ,("x11",126)
                           ,("linux",116)
                           ,("wm",74)
                           ,("software",55)
                           ,("gui",39)
                           ,("desktop",26)
                           ,("programming",25)
                           ,("opensource",23)
                           ,("xmonad",20)]
                   }

data URLDetails Source

A structure represening the the delicious tags associated with a url.

Constructors

URLDetails 

Fields

total :: !Integer
 
tags :: [(String, Integer)]
 
hash :: String
 
url :: String
 

Instances

Eq URLDetails 
Read URLDetails 
Show URLDetails 
JSON URLDetails

Compose and decompose URLDetails as JSON in the form delicious uses.