Returns: list : The user's shared projects
(self, *, limit=40, offset=0)
| 565 | return studios |
| 566 | |
| 567 | def projects(self, *, limit=40, offset=0) -> list[project.Project]: |
| 568 | """ |
| 569 | Returns: |
| 570 | list<projects.projects.Project>: The user's shared projects |
| 571 | """ |
| 572 | _projects = commons.api_iterative( |
| 573 | f"https://api.scratch.mit.edu/users/{self.username}/projects/", |
| 574 | limit=limit, |
| 575 | offset=offset, |
| 576 | _headers=self._headers, |
| 577 | ) |
| 578 | for p in _projects: |
| 579 | p["author"] = {"username": self.username} |
| 580 | return commons.parse_object_list(_projects, project.Project, self._session) |
| 581 | |
| 582 | def loves(self, *, limit=40, offset=0, get_full_project: bool = False) -> list[project.Project]: |
| 583 | """ |
no outgoing calls