Skip to content

Commit

Permalink
javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
c-eg committed Dec 22, 2023
1 parent a79445e commit f447e4d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ public ResponseStatusDelete deleteSession(String sessionId) throws TmdbException
* <p>Test your API Key to see if it's valid.</p>
* <p>See the <a href="https://developer.themoviedb.org/reference/authentication-validate-key">documentation</a>
* for more info.</p>
*
* @return The response status.
* @throws TmdbException If there was an error making the request or mapping the response.
*/
public ResponseStatusAuthentication validateKey() throws TmdbException {
ApiEndpoint apiEndpoint = new ApiEndpoint(TMDB_METHOD_AUTH);
Expand Down
12 changes: 10 additions & 2 deletions src/main/java/info/movito/themoviedbapi/TmdbCertifications.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ public class TmdbCertifications extends AbstractTmdbApi {
}

/**
* Get the list of supported certifications for movies.
* <p>Get an up to date list of the officially supported movie certifications on TMDB.</p>
* <p>See the <a href="https://developer.themoviedb.org/reference/certification-movie-list">documentation</a> for more info.</p>
*
* @return The movie certifications.
* @throws TmdbException If there was an error making the request or mapping the response.
*/
public CertificationResults getMovieCertifications() throws TmdbException {
ApiEndpoint apiEndpoint = new ApiEndpoint(TMDB_METHOD_CERTIFICATIONS, "movie/list");
Expand All @@ -30,7 +34,11 @@ public CertificationResults getMovieCertifications() throws TmdbException {
}

/**
* Get the list of supported certifications for tv series.
* <p>Get an up to date list of the officially supported tv certifications on TMDB.</p>
* <p>See the <a href="https://developer.themoviedb.org/reference/certifications-tv-list">documentation</a> for more info.</p>
*
* @return The tv certifications.
* @throws TmdbException If there was an error making the request or mapping the response.
*/
public CertificationResults getTvCertifications() throws TmdbException {
ApiEndpoint apiEndpoint = new ApiEndpoint(TMDB_METHOD_CERTIFICATIONS, "tv/list");
Expand Down

0 comments on commit f447e4d

Please sign in to comment.