Querying the CTAN Database with JSON – List of Authors
The list of authors can be obtained under the URL
The result is a JSON list as in the following listing:
[{"key":"aakerlund","givenname":"Johan","familyname":"Aakerlund"}, {"key":"aas","givenname":"American Astronomical Society","familyname":""}, {"key":"aavatsmark","givenname":"Ivar","familyname":"Aavatsmark"}, {"key":"abhinandan","givenname":"S. P.","familyname":"Abhinandan"}, {"key":"abraham","givenname":"Paul","familyname":"Abraham"}, {"key":"abrahams","givenname":"Paul W.","familyname":"Abrahams"}, …
The authors contained in this list are ordered ascending on the key of the author.
- List item
-
Each author in contained within a JSON object. This object has several attributes:
-
key
- This attribute contains the key of the author. This attribute is mandatory.
-
givenname
- This attribute contains the given name. It is optional and can be empty.
-
familyname
- This attribute is the family name. It is optional and can be empty.
-
female
-
This attribute is the boolean indicator that the author is
female. It is optional and can be empty. The default is
false
. -
died
- This attribute is the indicator that the author is deceased. It is optional and can be empty. The default is empty.
Note that the authors information does not contain the email address of the author to protect the privacy.
-
Selecting
The list can be restricted to contain part of the authors only.
The condition is that the key starts with a given string. This
string is specified with the parameter
key
.
The following example extracts all authors for which the key starts with the letter n: