In the process of writing a #perl script to pull my most recent QSOs from #QRZ's #LogbookAPI and import them into a #hugo site, but I'm having trouble figuring out how to get recent ones without fetching the entire logbook.
The MAX option seemed to be the answer, but it's counting from the start; i.e. MAX=5 returns the *first *five QSOs in the logbook instead of the last 5.

Anyone have a solution?

https://www.qrz.com/docs/logbook/QRZLogbookAPI.html
#hamradio #amatuerradio

QRZ Logbook API Developer Guide - QRZ.com