(
self, *, query: str = "", mode: str = "trending", language: str = "en", limit: int = 40, offset: int = 0
)
| 688 | return commons.parse_object_list(response, studio.Studio, self) |
| 689 | |
| 690 | def explore_studios( |
| 691 | self, *, query: str = "", mode: str = "trending", language: str = "en", limit: int = 40, offset: int = 0 |
| 692 | ) -> list[studio.Studio]: |
| 693 | query = f"&q={query}" if query else "" |
| 694 | response = commons.api_iterative( |
| 695 | f"https://api.scratch.mit.edu/explore/studios", |
| 696 | limit=limit, |
| 697 | offset=offset, |
| 698 | add_params=f"&language={language}&mode={mode}{query}", |
| 699 | ) |
| 700 | return commons.parse_object_list(response, studio.Studio, self) |
| 701 | |
| 702 | # --- Create project API --- |
| 703 |
no outgoing calls