freesound-juce
A JUCE client for accessing the Freesound API
|
A class which represents a Freesound user and its information. More...
#include <FreesoundAPI.h>
Public Member Functions | |
FSUser () | |
Default constructor, creates an empy User object. More... | |
FSUser (var user) | |
Constructor from the response of a user instance request. More... | |
Public Attributes | |
URL | profile |
The URL of the user profile in Freesound. | |
String | username |
The username. | |
String | about |
The ‘about’ text of users’ profile (if indicated) | |
URL | homepage |
The URI of users’ homepage outside Freesound (if indicated) | |
var | avatar |
Dictionary including the URIs for the avatar of the user. The avatar is presented in three sizes Small, Medium and Large, which correspond to the three fields in the dictionary. If user has no avatar, this field is null. | |
String | dateJoined |
The date when the user joined Freesound. | |
int | numSounds |
Number of sounds uploaded by the user. | |
URL | sounds |
The URI for a list of sounds by the user. | |
int | numPacks |
The number of packs by the user. | |
URL | packs |
The URI for a list of packs by the user. | |
int | numPosts |
The number of forum posts by the user. | |
int | numComments |
The number of comments that user made in other users’ sounds. | |
URL | bookmarks |
The URI for a list of bookmark categories by the user. | |
A class which represents a Freesound user and its information.
FSUser::FSUser | ( | ) |
Default constructor, creates an empy User object.
FSUser::FSUser | ( | var | user | ) |
Constructor from the response of a user instance request.
user | The response of a user instance request. |