jDownloads Support Forum

jDownloads for Joomla 4.x and 5.x => jDownloads 4.0 => General => Topic started by: keep2000 on 12.04.2023 22:05:31

Title: Fetching downloads from a category (solved)
Post by: keep2000 on 12.04.2023 22:05:31
Hello

May I have a developer question?
I manage to write a 3rd party plugin which should fetch all of the downloads from a specific category (or categories).
Is it possible using some API call or some method of jDownloads?

Thanks
Title: Re: Fetching downloads from a category
Post by: ColinM on 12.04.2023 23:29:22
Hi
Could you explain a lttle bit more please. I understand you have written a plugin which will access all the Downloads (or is it the files in the Downloads?).  What does the plugin do with them?

jD does not have an API.

Colin
Title: Re: Fetching downloads from a category
Post by: Arno on 13.04.2023 10:50:30
Hi,
when you need the 'Downloads' and not the files:
For example, look at the Helper Class file in a module like "Latest Module". Or the DownloadsModel etc.
Title: Re: Fetching downloads from a category
Post by: keep2000 on 19.04.2023 06:26:12
Thanks, I was able to fetch the data. Great extension :)