freesound-0.2.0: Access the Freesound Project database

Safe HaskellNone
LanguageHaskell98

Sound.Freesound.User

Synopsis

Documentation

class User a where Source

User of the Freesound database.

Methods

name :: a -> Text Source

The user’s username.

ref :: a -> Resource Detail Source

The URI for this resource.

url :: a -> URI Source

The profile page for the user on the Freesound website.

data Summary Source

User of the Freesound database.

sounds :: Detail -> Resource (List Summary) Source

The API URI for this user’s sound collection.

packs :: Detail -> Resource (List Summary) Source

The API URI for this user’s pack collection.

firstName :: Detail -> Maybe Text Source

The user’s first name, possibly empty.

lastName :: Detail -> Maybe Text Source

The user’s last name, possibly empty.

about :: Detail -> Maybe Text Source

A small text the user wrote about himself. FIXME: homePage :: Maybe Data

homePage :: Detail -> Maybe Text Source

The user’s homepage, possibly empty.

signature :: Detail -> Maybe Text Source

The user’s signature, possibly empty.

dateJoined :: Detail -> Text Source

The date the user joined Freesound.

getUser :: User a => a -> Freesound Detail Source

Get detailed information about a user.

getUserByName :: Text -> Freesound Detail Source

Get information about a user by name.

getBookmarkCategories :: Detail -> Freesound [Category] Source

Retrieve a list of a user's bookmark categories.

getSounds :: Pagination -> Detail -> Freesound Sounds Source

Retrieve a user's sounds. This is broken: the response doesn't contain the User.

getSounds_ :: Detail -> Freesound Sounds Source

Retrieve a user's sounds.

getPacks :: Detail -> Freesound Packs Source

Retrieve a user's packs.