GithubHelp home page GithubHelp logo

jlagreca / canvas-account-statistics Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jonmhays/canvas-account-statistics

0.0 2.0 0.0 128 KB

aggregates sub account statistics into a report

Ruby 100.00%

canvas-account-statistics's Introduction

Canvas Department-level Statistics

Based on scripts from my colleague, Jason Miller - Notification Setter and Stat Scraper, this ruby script loops through 'account_id' columns in a Canvas CSV provisioning report of accounts, and connects to the Canvas-LMS API for Get department-level statistics to report all statistics for all accounts.

Usage

First Time Use

The first time you use this script, you will need to install required gems using Bundler.

$ bundle install

Next you will need to copy the contents of config.example.yml into a new file named config.yml.

$ cp config.example.yml config.yml

To properly authenticate with the Canvas LMS system you are using this script with, you'll need to generate an API access token for your user account and then insert that token into the 'config.yml' file as the 'admin_token'.

Providing CSV Report

This script will work with any list of canvas course ids that the user is authorized to access. Ideally, you can use a provisioning report for accounts which will result in a file that includes the 'canvas_account_id'.

Admin User access

This script is really intended for Canvas Admins.

Run the primary script

From the command line simply run the 'main.rb' script.

$ ./main.rb

canvas-account-statistics's People

Contributors

jonmhays avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.