FilWisher / recurse-haskell

Haskell bindings to the Recurse Center API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

recurse-haskell

(Incomplete) bindings to the Recurse Center API in Haskell

import Web.Recurse
import qualified Data.ByteString as BS

token :: BS.ByteString
token = "..."

main :: IO ()
main = do
    profiles <- runRecurse token $ do
        batch <- head <$> getBatches
        getProfilesByBatch (batchID batch) $ defaultProfileQuery
            { query = Just "haskell"
            }
    forM_ profiles print

About

Haskell bindings to the Recurse Center API

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Haskell 100.0%