Skip to content

Utility library for creating own external tools via the Moodle LTI API.

License

Notifications You must be signed in to change notification settings

JanWichelmann/MoodleLti

Repository files navigation

Moodle LTI Client Library

Build & Test MoodleLti at NuGet

The MoodleLti library offers an abstracted way to access Moodle's gradebook via the LTI interface.

MoodleLti

Classes:

  • MoodleAuthenticationTools: Parses a LTI tool launch request and allows accessing its parameters.
  • MoodleLtiApi: Implements low-level functions to communicate with Moodle via the LTI API.
  • MoodleGradebook: Provides abstracted means to read and write to the Moodle gradebook: Get/create/update/delete columns, set scores.
  • CachedMoodleGradebook: Is based on MoodleGradebook, but caches retrieved data to reduce expensive LTI API queries. This should be used when a lot of gradebook operations are performed.

MoodleLti.DependencyInjection

MoodleLti.DependencyInjection at NuGet

This is an utility library, which adds several extensions methods to the IServiceCollection used for dependency injection.

Examples

The SampleToolProvider project contains a basic ASP.NET Core web application, which uses the functions provided by MoodleLti.

About

Utility library for creating own external tools via the Moodle LTI API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published