I want to keep a separate file (for instance, an excel spreadsheet) in which I can keep track of all my student's grades, groups number etc. therefore I want to export each student name and number enrolled in the class.
Hi Aniek and welcome to the Canvas Community!
Your request is one that we have seen before and unfortunately there is no way built into the Canvas People page to download all of the student names and such. You can get all of the names, SIS IDs etc.. by downloading a csv file from the grades page. You can download this file and tweak it in Excel and you should have a good start. You can read about this process at: How do I export grades from the Gradebook? If you are looking for group info, this is not included and at this point there is no easy way to get group rosters out of Canvas. There is a feature request for this functionality at: Group Roster Export. It is on the product radar but I would recommend that you go vote it up.
Now if you are a bit of a geek, you can use one of James Jones' Canvancements (GitHub - jamesjonesmath/canvancement: Enhancements to the Canvas LMS) scripts to make the People page a bit more useful. The ones in particular can be found at: Course Roster Enhancements
Hope this helps :-)
Retrieving data ...