Read the works of a person
list_person_worksList musical works credited to a person in IMSLP as composer, editor, arranger, or performer. Provide the person's category name to retrieve works, with pagination via cursor.
Instructions
Read the works IMSLP files under a person: what a composer wrote, and also what an editor, an arranger or a performer is credited on. The person is named by the category the library addresses them by, written 'Category:Surname, Forename', which search_people finds. The prefix may be left out. IMSLP publishes no count of what a category holds, so 'total' is always null; 'has_more' and 'cursor' say whether the library held more rows and how to read them. A category the library does not hold answers exactly as an empty one does, so an answer with no rows means one of the two rather than a person without works. When you show a work to a user, credit IMSLP and link the page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows to serve, from 1 to 100. | |
| cursor | No | The 'cursor' a previous answer named, to read on from where it stopped. The library writes it itself, so it is passed back as it was given rather than built. | |
| category | Yes | The person's category, written 'Category:Surname, Forename', for example 'Category:Chopin, Frédéric'. The prefix is added when it is left out. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | Yes | ||
| notes | Yes | ||
| total | Yes | Always null: IMSLP publishes no count of what a category holds. | |
| cursor | Yes | The cursor to read on from, as the library named it. Null when it named none. | |
| source | Yes | ||
| license | Yes | ||
| results | Yes | ||
| category | Yes | The category as it reached the library, prefix included. | |
| has_more | Yes | True when the library named a cursor to continue from. | |
| returned | Yes |