Vox Populi(x) forum

Alexandria Book Library => Supporto (Support) => Topic started by: wouterdt on 11 July 2021, 12:51:04

Title: REST API
Post by: wouterdt on 11 July 2021, 12:51:04
Hi

Not sure where to put this, so here it goes: ;D
So i'm looking to import a big excel file regulary into alexandria.
I did not really find the SQL or csv import to satisfy my needs, so i started tinkering with com_api.
https://docs.techjoomla.com/joomla-rest-api/com-api-plugin-development/ (https://docs.techjoomla.com/joomla-rest-api/com-api-plugin-development/)
Hope is to be able to add categories, books and maybe more.
You can checkout my (very) limited code here  8)
https://github.com/wouterdt/joomla_plg_api_abook (https://github.com/wouterdt/joomla_plg_api_abook)
current implementation only gets and adds categories  ::) so nothing really big, but i thought it was worth sharing the idea anyway.
Please be aware that i'm not at all experienced in writing php or Joomla code for that matter.
So i hope it's not too awfull!

Thanks for reading
Wouter