Monday, October 1, 2018

October 1st : API Dave Arneson Game Day

October 1st became recently the « Dave Arneson Game Day » in honor of the unsung co-author of the first tabletop role-playing game. That an opportunity to test the API of Zotero, ie. a way to request informations from its database.
Arneson's Blackmoor

https://api.zotero.org/groups/446523/items?tag=_arneson&format=bib
  • tag : _arneson
  • 446523 : database ID
  • format=bib : create a bibliography
  • & : add a request (AND)
 https://api.zotero.org/groups/446523/items?q=dave+arneson&format=bib
  • q= : search words in Creator and Title.
  • + : to separate the words, instead of space.
 https://api.zotero.org/groups/446523/items?tag=_arneson&format=bib&tag=-_fr
  • -_fr : without the tag _fr (note the dash at the beginning)
 https://api.zotero.org/groups/446523/items?tag=_arneson || _gygax&format=bib
  • || (with space before and after, sometimes use %20 instead of space) : used to group item (OR).
 More information on search syntax for Zotero API. The maximum number of references displayes is 150. To browse the full database, visit it at Zotero.

No comments:

Post a Comment