TV Certifications
Query the available TV certifications and their associated countries.
Query the available TV certifications and their associated countries.
async tv_certifications(): Promise<Certifications>TMDB Reference: TV Certifications
Parameters
This method takes no parameters.
Returns
A Certifications object containing
the available TV certifications and their associated countries.
Example
import { TMDB } from "@lorenzopant/tmdb";
const tmdb = new TMDB("your-api-key");
const certifications = await tmdb.certifications.tv_certifications();
console.log(certifications);
// {
// certifications: {
// US: [
// { certification: "G", meaning: "General Audiences", order: 1 },
// { certification: "PG", meaning: "Parental Guidance Suggested", order: 2 },
// ...
// ],
// ...
// }
// }This data changes infrequently. Consider caching the response rather than calling this endpoint on every request.