Version badge Build badge

Strive is a Haskell client for the Strava V3 API.


Add it to your Cabal file:


Or install it manually:

$ cabal update
$ cabal install strive

Strive uses Semantic Versioning. See the change log for a detailed list of changes.


To use the API, you'll need an access token. Once you have that, create a new client using the default HTTP manager.

{-# LANGUAGE OverloadedStrings #-}
import Strive
let token = "..."
client <- buildClient (Just token)

Most types implement lenses for their fields. Lenses are preferred over directly accessing the fields. For instance, instead of doing this:

client_accessToken (client { client_accessToken = "record token" })
-- "record token"

Do this:

get accessToken (set accessToken "lens token" client)
-- "lens token"


Change log

Strive uses Semantic Versioning. The change log is available through the releases on GitHub.

comments powered byDisqus