REST API

Started by wouterdt, 11 July 2021, 12:51:04

Previous topic - Next topic
A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

wouterdt

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/
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
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

A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9