CTAN
Comprehensive TeX Archive Network

Query­ing the CTAN Database with JSON – Author

The in­for­ma­tion about a sin­gle au­thor can be ob­tained un­der the URL like

http://www.ctan.org/json/au­thor/knuth

The last el­e­ment in the URl is the key of the au­thor as used by CTAN. Those keys are also listed in the list of au­thors.

The re­sult is a JSON term as in the fol­low­ing list­ing:

{"key":"knuth","givenname":"Donald E.","familyname":"Knuth"}  

The en­try is an ob­ject. It has sev­eral at­tributes:

key
This at­tribute con­tains the key of the au­thor. This at­tribute is manda­tory.
givenname
This at­tribute con­tains the given name. It is op­tional and can be empty.
familyname
This at­tribute is the fam­ily name. It is op­tional and can be empty.

Note that the au­thors in­for­ma­tion does not con­tain the email ad­dress of the au­thor to pro­tect the pri­vacy.

Ref­er­ences

You can re­quest that more in­for­ma­tion about the au­thors is pro­vided. This in­for­ma­tion is the list of pack­ages in which the au­thor is men­tioned. This is ac­com­plished with the pa­ram­e­ter ref. It can be set to true as in the fol­low­ing ex­am­ple:

http://www.ctan.org/json/au­thor/knuth?ref=true

This re­sults in an json file like in the fol­low­ing list­ing;

{"key":"knuth","givenname":"Donald E.","familyname":"Knuth","packages":["ada","cmtest","gkpmac","graphbase",…]} 

In this case an ad­di­tional at­tribute is in­cluded.

packages
This at­tribute which con­tains the list of pack­age ids.
Guest Book Sitemap Contact Contact Author