by David Fritsch.
I am creating a plugin and have gotten it to update a grade for a course based on actions in the course. However, I would prefer to not have part of the plugin installation being that you have to create the grade scale (for pass/fail) as well as create a grade book item for each course that the plugin is used on.
I also tried ot just copy code from the grade book item save function to use in the plugin but this seemed extra complicated.
Is there a straight forward way to add my own grade book scale and item to use in a plugin?