Skip to content

Releases: tiberhealth/CanvasApi

2.0.57: Merge pull request #13 from tiberhealth/bug2780

24 Sep 00:29
4026813
Compare
Choose a tag to compare

Tiber Canvas API

This is a .Net 5.0 wrapper library for the Canvas LMS API. The goal of this project is create a complete API wrapper for all the Canvas Modules and API calls.

**This project has just started and is not completed. The priority of the project is based on the need for internal projects. Please feel free to contribute any modules or API calls that you need. **

Usage

The Canvas LMS API wrapper utilized the HttpClient and can be intiated in mutliple ways. The first and most common is to setup a service.

this.Services.AddHttpClient<ICanvasApiClient, CanvasApiClient>(client =>
                client.ConfigureCanvasApi(CanvasDomain, ApiKey)
            );

Using the GetRequiredService get the service. When using this method it is recommended that object is not directly disposed.

var serviceProvider = this.Services.BuildServiceProvider();
var client = serviceProvider.GetRequiredService<ICanvasApiClient>();

The API Client can be directly initiated. Using this method, the source should properly dispose of the client object when no longer in use.

using var client = new CanvasApiClient(CanvasDomain, ApiKey, serviceProvider);

Modules Built and/or Completed

Accounts

GetSubAccounts, List

Assignment Groups

Create, Destroy, Edit, Get, List

Enrollments

CourseEnrollments, SectionEnrollments, UserEnrollments

Submissions

GetSingleCourse, GetSingleSection, ListCourse, ListCourseGroupedByStudent, ListSection, ListSectionGroupedByStudent, SubmitCourse, SubmitSection

Users

GetProfile

Changes:

  • 4026813 Merge pull request #13 from tiberhealth/bug2780
  • f508792 bug 2780 - Error with Grade - api not pulling / json not resolving

This list of changes was auto generated.

2.0.54: Merge pull request #12 from tiberhealth/bug2780

23 Sep 22:28
fcc6a37
Compare
Choose a tag to compare

Tiber Canvas API

This is a .Net 5.0 wrapper library for the Canvas LMS API. The goal of this project is create a complete API wrapper for all the Canvas Modules and API calls.

**This project has just started and is not completed. The priority of the project is based on the need for internal projects. Please feel free to contribute any modules or API calls that you need. **

Usage

The Canvas LMS API wrapper utilized the HttpClient and can be intiated in mutliple ways. The first and most common is to setup a service.

this.Services.AddHttpClient<ICanvasApiClient, CanvasApiClient>(client =>
                client.ConfigureCanvasApi(CanvasDomain, ApiKey)
            );

Using the GetRequiredService get the service. When using this method it is recommended that object is not directly disposed.

var serviceProvider = this.Services.BuildServiceProvider();
var client = serviceProvider.GetRequiredService<ICanvasApiClient>();

The API Client can be directly initiated. Using this method, the source should properly dispose of the client object when no longer in use.

using var client = new CanvasApiClient(CanvasDomain, ApiKey, serviceProvider);

Modules Built and/or Completed

Accounts

GetSubAccounts, List

Assignment Groups

Create, Destroy, Edit, Get, List

Enrollments

CourseEnrollments, SectionEnrollments, UserEnrollments

Submissions

GetSingleCourse, GetSingleSection, ListCourse, ListCourseGroupedByStudent, ListSection, ListSectionGroupedByStudent, SubmitCourse, SubmitSection

Users

GetProfile

Changes:

  • fcc6a37 Merge pull request #12 from tiberhealth/bug2780 [ #2780 ]
  • b64bfaa #2780 - Canvas Enrollment API Error
  • 9ffdcec Merge pull request #11 from tiberhealth/portaldev
  • c68117e Fix Auth issues
  • 5854495 Merge pull request #10 from tiberhealth/BryanDev
  • 884432e Fix update modules test
  • bbdece5 Cleanup Serialization and Modules API
  • a221d6e Merge branch 'DomCleanup' into BryanDev
  • 8b72c4c Test fixes
  • 576eead Merge pull request #9 from dbagnoli/main
See More
  • b066359 Quiz Models, Enums, and Concretes completed
  • 7f5ad08 Merge pull request #8 from dbagnoli/main
  • f7b71b2 Update CanvasApi.Client.csproj
  • 5d54c6a Quiz started
  • 8829080 Tested ModuleItemSequence
  • bcc76b4 ModuleItem tests completed
  • 34f69f7 Merge pull request #7 from dbagnoli/main
  • 58916b7 IRolesAPIClient created and all roles objects commented
  • 9b2c116 Module Item create and delete tests written
  • 5a80a38 Created tests for list, create, and update modules
  • bc10fa6 Delete modules test written
  • eb0712f Admin testing completed, and a bug in User found and fixed
  • 0119476 Merge branch 'main' into BryanDev
  • b373517 Merge pull request #6 from dbagnoli/main
  • e9c6b79 commented out unused variables to remove warnings
  • 760be4e Test files created, One module test created, and necessary changes to some module files
  • 3cf8578 Roles completed without comments
  • e385faf Merge branch 'main' into BryanDev
  • 3d89244 Adding string helpers
  • 46eb2b0 Merge pull request #5 from dbagnoli/main
  • c980505 updated namespaces and added api operation for selecting mastery path
  • 14cbbbb added api to entry class
  • 2cca2ed Completed comments on modules
  • e009dba comments added and some errors in the models fixed
  • 4cad8bd Some comments added
  • 51beb22 completed all but one api call in the api client
  • 10652be fixed a typing error and created a couple missing interfaces
  • 4031cc9 Completed models for api client
  • 1a80049 changed all JsonProperties to Multiparts
  • 9348cfe Merge remote-tracking branch 'upstream/main' into main
  • 8c775df Began work on the ModulesApiClients
  • 82b69d7 Merge pull request #4 from tiberhealth/BryanDev
  • 93dae11 Automation of Enums (CenventionBased and Rule Based); Automation of Deserialization (Convention Based with overrides) - cleanup
  • 5f0a671 Module models and enums created
  • 90122f5 Merge pull request #3 from tiberhealth/main
  • 9ead208 Merge pull request #3 from tiberhealth/BryanDev
  • d5a86c1 User Models and cleanup
  • 9f37ade Add readme for the test project
  • d37d3a4 Merge Main
  • bb40d8f Merge pull request #2 from dbagnoli/main
  • 418553c Merge branch 'main' into BryanDev
  • fb2bbfd Fix enumeration issue - allow for flattening of a object with an array in it
  • 5c3eb45 Update azure-pipelines.yml for Azure Pipelines
  • 2e8b9d7 added comments and fixed promote to admin interface to use id instead of name
  • b9966d8 More refactoring
  • 5614b52 changed the original int array to an enumerable
  • 8818a0f Renamed some functions and files to have a more professional naming scheme
  • c472885 Update azure-pipelines.yml for Azure Pipelines
  • 857eb64 Made changes to Module so the program would compile for PR
  • eb57242 Use user-secrets for test scenario
  • d15577c Cleanup
  • 3d000c6 started the Module API, created some Models and Enums
  • 1b96ceb Changed the namespace for AdminApi info to be in the admin namespace and added Admin to entry class
  • 4baa6fe Added the models and enums for AdminAPI
  • f557e02 Merge pull request #2 from tiberhealth/main
  • 243d0cb Add Enrollment Term Test & Cleanup Enrollment Term
  • d42f2f7 Merge branch 'main' of github.com:tiberhealth/CanvasApi into main
  • e6ac8a5 Accounts folder mispelling
  • eac793c Merge pull request #1 from dbagnoli/main
  • 6cb4922 Update azure-pipelines.yml for Azure Pipelines
  • ef86820 Changing the name for an EnrollmentTerms Enum to fix an error
  • 52206b2 Added EnrollmentTerm APIs
  • 5421b91 Merge pull request #1 from tiberhealth/main
  • 8d204d0 Merge Cleanup
  • a76a077 Rename Enrollment Terms. Add Course Footprints

This list of changes was auto generated.

2.0.13

14 Apr 14:28
Compare
Choose a tag to compare

Tiber Canvas API

This is a .Net 5.0 wrapper library for the Canvas LMS API. The goal of this project is create a complete API wrapper for all the Canvas Modules and API calls.

**This project has just started and is not completed. The priority of the project is based on the need for internal projects. Please feel free to contribute any modules or API calls that you need. **

Usage

The Canvas LMS API wrapper utilized the HttpClient and can be intiated in mutliple ways. The first and most common is to setup a service.

this.Services.AddHttpClient<ICanvasApiClient, CanvasApiClient>(client =>
                client.ConfigureCanvasApi(CanvasDomain, ApiKey)
            );

Using the GetRequiredService get the service. When using this method it is recommended that object is not directly disposed.

var serviceProvider = this.Services.BuildServiceProvider();
var client = serviceProvider.GetRequiredService<ICanvasApiClient>();

The API Client can be directly initiated. Using this method, the source should properly dispose of the client object when no longer in use.

using var client = new CanvasApiClient(CanvasDomain, ApiKey, serviceProvider);

Modules Built and/or Completed

Accounts

GetSubAccounts, List

Assignment Groups

Create, Destroy, Edit, Get, List

Enrollments

CourseEnrollments, SectionEnrollments, UserEnrollments

Submissions

GetSingleCourse, GetSingleSection, ListCourse, ListCourseGroupedByStudent, ListSection, ListSectionGroupedByStudent, SubmitCourse, SubmitSection

Users

GetProfile

Changes:

This list of changes was auto generated.

2.0.10

19 Mar 02:38
Compare
Choose a tag to compare

Tiber Canvas API

This is a .Net 5.0 wrapper library for the Canvas LMS API. The goal of this project is create a complete API wrapper for all the Canvas Modules and API calls.

**This project has just started and is not completed. The priority of the project is based on the need for internal projects. Please feel free to contribute any modules or API calls that you need. **

Usage

The Canvas LMS API wrapper utilized the HttpClient and can be intiated in mutliple ways. The first and most common is to setup a service.

this.Services.AddHttpClient<ICanvasApiClient, CanvasApiClient>(client =>
                client.ConfigureCanvasApi(CanvasDomain, ApiKey)
            );

Using the GetRequiredService get the service. When using this method it is recommended that object is not directly disposed.

var serviceProvider = this.Services.BuildServiceProvider();
var client = serviceProvider.GetRequiredService<ICanvasApiClient>();

The API Client can be directly initiated. Using this method, the source should properly dispose of the client object when no longer in use.

using var client = new CanvasApiClient(CanvasDomain, ApiKey, serviceProvider);

Modules Built and/or Completed

Accounts

GetSubAccounts, List

Assignment Groups

Create, Destroy, Edit, Get, List

Enrollments

CourseEnrollments, SectionEnrollments, UserEnrollments

Submissions

GetSingleCourse, GetSingleSection, ListCourse, ListCourseGroupedByStudent, ListSection, ListSectionGroupedByStudent, SubmitCourse, SubmitSection

Users

GetProfile

Changes:

  • fb35ddb Update azure-pipelines.yml for Azure Pipelines
  • fc64f31 Update azure-pipelines.yml for Azure Pipelines

This list of changes was auto generated.

2.0.7

15 Mar 16:20
Compare
Choose a tag to compare
Update azure-pipelines.yml for Azure Pipelines