Safe Haskell | None |
---|---|
Language | Haskell2010 |
Web.ExtraLife.API
Contents
Description
The ExtraLife API is extremely simple, providing interfaces to fetch user information, user donations, team information and team membership lists. All reference IDs are of type Int, and non-basic types are unnecessary to represent the data returned from the API.
Interfaces to the remote API
recentDonations :: Int -> IO (Maybe [Donation]) Source #
Fetches all recent donations for a given user
teamInfo :: Int -> IO (Maybe Team) Source #
Fetches all information about a team except for members, given a Team ID
teamMembers :: Int -> IO (Maybe [TeamMember]) Source #
Fetches members of a team, if any, given a Team ID