Read a person
get_personRetrieve a person's IMSLP bio record—name, life dates, aliases, and references—by providing their category. Get the details to accurately cite and link the source.
Instructions
Read what IMSLP holds about a person: the name as its page prints it, the life dates it states, the other names it files them under, the registers holding a record of them, and the addresses it points to off the site. 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. Life dates come back in the wording the page used, since the library writes '1861-1934' on one page and '4 March 1861 — 2 November 1934' on another, and a page holding none says so. This reads the person; list_person_works reads what they wrote. When you show a person to a user, credit IMSLP and link the page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | The person's category, written 'Category:Surname, Forename', for example 'Category:Satie, Erik'. The prefix is added when it is left out. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name as the page prints it, which reads forename first. | |
| notes | Yes | ||
| source | Yes | ||
| aliases | Yes | The aliases line as published, separated the same way. | |
| license | Yes | ||
| category | Yes | The category the library addresses them by. | |
| page_url | Yes | ||
| life_dates | Yes | The dates beside the name, exactly as published. Null when the page prints none. | |
| authorities | Yes | ||
| catalogued_as | Yes | The name without the prefix, surname first. | |
| external_links | Yes | ||
| alternative_names | Yes | The other names and transliterations the library files them under, as the line was published. It separates names with commas and a name written surname first carries one of its own, so the line is not cut into a list. |