qus-canvas
Version:
client api for canvas
24 lines • 777 B
TypeScript
import { CanvasHttpConnector } from "../../http/connections/canvas-http.connector";
import { SectionInterface } from "../dtos/section.interface";
export declare class SectionsFactory {
protected readonly connector: CanvasHttpConnector;
protected version: string;
protected accountId: string;
constructor(connector: CanvasHttpConnector, version: string, accountId: string);
/**
* Fetch Sections from the API
*
* @param endpoint
* @private
*/
private fetchSections;
/**
* List sections by course
*
* @param courseId
* @param page
* @param size
*/
listSectionsByCourse(courseId: number, page: number, size: number): Promise<SectionInterface[]>;
}
//# sourceMappingURL=sections.factory.d.ts.map