Students
- class students.StudentsAPI[source]
Interface for the PythonAnywhere Students API.
This class uses the get_api_endpoint function from
pythonanywhere.api.baseto construct the API URL, which is stored in the class variablebase_url. It then calls thecall_apimethod with the appropriate arguments to perform student-related actions.- Supported HTTP Methods:
GET
DELETE
- Methods:
StudentsAPI.get(): Retrieve a list of students.StudentsAPI.delete(): Remove a student.