freesound-0.3.0: Access the Freesound Project database

Safe HaskellNone
LanguageHaskell98

Sound.Freesound.User

Synopsis

Documentation

data User Source

User of the Freesound database.

Constructors

User 

Fields

url :: URI

The URI for this users' profile on the Freesound website.

username :: Text

The username.

about :: Maybe Text

The about text of users' profile (if indicated).

homepage :: Maybe URI

The URI of users' homepage outside Freesound (if indicated).

avatar :: Maybe Avatar

The user's avatar image (if indicated).

dateJoined :: UTCTime

The date when the user joined Freesound.

numSounds :: Int

The number of sounds uploaded by the user.

sounds :: Resource (List Summary)

The API URI for this user’s sound collection.

numPacks :: Int

The number of packs by the user.

packs :: Resource (List Pack)

The API URI for this user’s pack collection.

numPosts :: Int

The number of forum posts by the user.

numComments :: Int

The number of comments that user made in other users' sounds.

bookmarkCategories :: Resource (List BookmarkCategory)

The URI for a list of bookmark categories by the user.

data Avatar Source

Constructors

Avatar 

Fields

small :: URI
 
medium :: URI
 
large :: URI
 

getUserByName :: Text -> Freesound User Source

Get information about a user by name.