Skip to content

Rust implementation of the Canvas by Instructure API

Notifications You must be signed in to change notification settings

OverHash/canvas-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

canvas-api

An implementation of the Instructure Canvas API.

Usage

The canvas API is quite large. To mitigate API pollution, the core CanvasClient can have functions loaded by importing the relevant Ext trait.

For example, to use the Account Calendar APIs, import the CalendarExt trait:

use canvas_api::{CalendarExt, CanvasClient};

#[tokio::main]
async fn main() {
    let client = CanvasClient::builder("CANVAS_TOKEN")
        .build()
        .expect("Failed to create canvas client");

    println!("{:?}", client.account_calendars(None).await);
}

About

Rust implementation of the Canvas by Instructure API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages