Class DatabaseApi
java.lang.Object
com.amilesend.discogs.api.ApiBase
com.amilesend.discogs.api.DatabaseApi
The Discogs Database API.
API Documentation
Note: The GET Release Stats API is broken and does not provide meaningful data. It is therefore omitted from this API interface. See this forum post for context.
API Documentation
Note: The GET Release Stats API is broken and does not provide meaningful data. It is therefore omitted from this API interface. See this forum post for context.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteUserReleaseRating(@NonNull DeleteUserReleaseRequest request) Deletes a release rating for a user.getArtistInformation(@NonNull GetArtistInformationRequest request) Gets information about a specific artistsgetArtistReleases(@NonNull GetArtistReleasesRequest request) Gets the list of releases and masters associated with an artist.getCommunityReleaseRating(@NonNull GetCommunityReleaseRatingRequest request) Gets the community rating for a given release.getLabelInformation(@NonNull GetLabelInformationRequest request) Gets information about a specific abel.getLabelReleases(@NonNull GetLabelReleasesRequest request) Gets the paginated list of releases for a label.getMasterRelease(@NonNull GetMasterReleaseRequest request) Gets the master release for the given identifier.getMasterReleaseVersions(@NonNull GetMasterReleaseVersionsRequest request) Gets the master release versions.getRelease(@NonNull GetReleaseRequest request) Gets a release.getUserReleaseRating(@NonNull GetUserReleaseRatingRequest request) Gets a release rating for a user.search(@NonNull SearchRequest request) Searches for masters, releases, artists, and labels.updateUserReleaseRating(@NonNull UpdateUserReleaseRatingRequest request) Updates the release rating for a user.Methods inherited from class ApiBase
getConnection
-
Constructor Details
-
DatabaseApi
Creates a newDatabaseApiobject.- Parameters:
connection- the underlying client connection
-
-
Method Details
-
getRelease
Gets a release.- Parameters:
request- the request- Returns:
- the release
- See Also:
-
getUserReleaseRating
public GetUserReleaseRatingResponse getUserReleaseRating(@NonNull GetUserReleaseRatingRequest request) Gets a release rating for a user.- Parameters:
request- the request- Returns:
- the response
- See Also:
-
updateUserReleaseRating
public UpdateUserReleaseRatingResponse updateUserReleaseRating(@NonNull UpdateUserReleaseRatingRequest request) Updates the release rating for a user.- Parameters:
request- the request- Returns:
- the response
- See Also:
-
deleteUserReleaseRating
Deletes a release rating for a user.- Parameters:
request- the request
-
getCommunityReleaseRating
public GetCommunityReleaseRatingResponse getCommunityReleaseRating(@NonNull GetCommunityReleaseRatingRequest request) Gets the community rating for a given release.- Parameters:
request- the request- Returns:
- the response
- See Also:
-
getMasterRelease
Gets the master release for the given identifier.- Parameters:
request- the request- Returns:
- the response
- See Also:
-
getMasterReleaseVersions
public GetMasterReleaseVersionsResponse getMasterReleaseVersions(@NonNull GetMasterReleaseVersionsRequest request) Gets the master release versions.- Parameters:
request- the request- Returns:
- the master release versions
- See Also:
-
getArtistInformation
public GetArtistInformationResponse getArtistInformation(@NonNull GetArtistInformationRequest request) Gets information about a specific artists- Parameters:
request- the request- Returns:
- the response
- See Also:
-
getArtistReleases
Gets the list of releases and masters associated with an artist.- Parameters:
request- the request- Returns:
- the paginated response
- See Also:
-
getLabelInformation
Gets information about a specific abel.- Parameters:
request- the request- Returns:
- the response
- See Also:
-
getLabelReleases
Gets the paginated list of releases for a label.- Parameters:
request- the request- Returns:
- the paginated response
- See Also:
-
search
Searches for masters, releases, artists, and labels.- Parameters:
request- the request- Returns:
- the search response
- See Also:
-