Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Accesses Canvas LMS via its REST API for courses, assignments, due dates, grades, and submissions.
Use this skill ↓70% 87%+17 ptsof test cases passed
Passed 20 of 23 test cases with the skill, and 16 of 23 without it.
I need to programmatically fetch my basic account profile details from our school's Canvas server using command-line HTTP requests. I already set up my environment variables. Which specific path should I curl?
Constructs the request URL using the `$CANVAS_URL` base host environment variable.
3 of 3 safety checks passed
Access Canvas LMS data via the REST API.
.env file:
export CANVAS_TOKEN="your_token_here"
export CANVAS_URL="https://your-school.instructure.com" # or canvas.yourschool.edu
Include token in all requests:
curl -s -H "Authorization: Bearer $CANVAS_TOKEN" "$CANVAS_URL/api/v1/..."
# User profile
curl -s -H "Authorization: Bearer $CANVAS_TOKEN" "$CANVAS_URL/api/v1/users/self/profile"
# Active courses
curl -s -H "Authorization: Bearer $CANVAS_TOKEN" "$CANVAS_URL/api/v1/courses?enrollment_state=active&per_page=50"
# Dashboard cards (quick overview)
curl -s -H "Authorization: Bearer $CANVAS_TOKEN" "$CANVAS_URL/api/v1/dashboard/dashboard_cards"
# To-do items (upcoming work)
curl -s -H "Authorization: Bearer $CANVAS_TOKEN" "$CANVAS_URL/api/v1/users/self/todo"
# Upcoming events
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.