initial commit

This commit is contained in:
Blake Joynes
2021-05-15 00:22:10 -04:00
commit d800f56ee6
20 changed files with 697 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
import {Base} from "./base";
import {Certifications} from "../types/certification";
export class Certification extends Base{
constructor(protected readonly accessToken: string){
super(accessToken);
}
async movies(): Promise<Certifications> {
return await this.api.get<Certifications>('/certification/movie/list');
}
async tvShows(): Promise<Certifications> {
return await this.api.get<Certifications>('/certification/tv/list');
}
}