JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 04.06.2019, 13:39
Cubiss Cubiss is offline
Junior Loader
 
Join Date: Aug 2018
Posts: 11
Default JDownloader API: Where do I get linkIDs

Hello,
I'm trying to automate my JDownloader and I struggle with the docs.
I don't see any way to retrieve my currently downloading packages/links. Am I blind or is there no way to get linkIds/packageIds from previously added downloads?
Reply With Quote
  #2  
Old 04.06.2019, 14:17
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,532
Default

Please see https://my.jdownloader.org/developers/
see queryPackages/queryLinks from downloadsV2 namespace.
In case you got further questions about api, either ask here or contact us via support@jdownloader.org

In what language do you develope your client?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 04.06.2019, 14:19
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,532
Default

Quote:
Originally Posted by Cubiss View Post
Am I blind or is there no way to get linkIds/packageIds from previously added downloads?
what exactly do you mean or what is the problem?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 05.06.2019, 08:17
Cubiss Cubiss is offline
Junior Loader
 
Join Date: Aug 2018
Posts: 11
Default

Thanks a lot!
Although I feel stupid now. I have a method called query_link_list that puts a list of links into downloads and I somehow assumed your query_links is for putting links into downloads and just didn't look into it.

AD: I write my code in Python.
Reply With Quote
  #5  
Old 05.06.2019, 09:33
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,532
Default

You're welcome. When you need help, please just ask. I can't help with python but I'm sure I can still be of help
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 31.07.2022, 07:46
cengjingcaihua cengjingcaihua is offline
I will play nice!
 
Join Date: Apr 2021
Posts: 1
Default

Quote:
Originally Posted by Jiaz View Post
Please see **External links are only visible to Support Staff**...
see queryPackages/queryLinks from downloadsV2 namespace.
In case you got further questions about api, either ask here or contact us via support@jdownloader.org

In what language do you develope your client?
It's hard to guess what values I should put in the LinkQuery object. I had multiple attempts for jobUUIDs and packageUUIDs but always get BAD_PARAMETERS error.

Just wanted to get all the downloads entries.
Reply With Quote
  #7  
Old 10.08.2022, 18:02
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,532
Default

@cengjingcaihua: You don't have to guess. BAD_PARAMETERS sounds like wrong api request. What client do you use? or have you coded your own client? do you encode the parameters correct?
Please contact me via support@jdownloader.org
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 02:20.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.