Question creation of via api

Re: Question creation of via api

by Luis Sola Ruiz -
Number of replies: 0
Hi Tim, I had another question related to this in some way.

Since I have my questions created properly, now I want to give the option to the user of select one category and add some questions automatically. Trying to replicate the Moodle process, I saw this function https://github.com/moodle/moodle/blob/master/question/classes/bank/search/category_condition.php#L132 which lists the categories but in some points of the use of this code it appears that this function is deprecated.
Do you know some way to do this?

Thank you.