JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 23.06.2015, 10:44
noone2407 noone2407 is offline
Baby Loader
 
Join Date: Jun 2015
Posts: 9
Default How do I implement remote control with My jdownloader in c#

Hi,
I can see that JDownloader use local web interface and I can control it easily, but when I move to Jdownloader BETA then it is removed and replaced with My Jdownloader. But I can not see any document or sample code to do that.
Please I need some help. Thank you in advance.
Reply With Quote
  #2  
Old 23.06.2015, 14:18
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 70,222
Default

Here you can get the current version of api doc
docs.google.com/document/d/1q5g_vqoUr2G6au9c3nUspUbkZ1eHgtGpmbjI30FhpAY/edit?pli=1

We can also provide JS/JAVA Version of client implementation. In case you need help/have questions about implementation, just contact us via support@jdownloader.org or in livechat (irc, freenode, #jdteam)
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 30.06.2015, 14:23
noone2407 noone2407 is offline
Baby Loader
 
Join Date: Jun 2015
Posts: 9
Default

Hello,
I have written a wrapper in c#
Here is my project **External links are only visible to Support Staff****External links are only visible to Support Staff**
Thank you for you document and also the php wrapper
I hope it can help someone
Reply With Quote
  #4  
Old 30.06.2015, 14:26
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 70,222
Default

Cool Was it easy? Do you need any help or have enough commands for what you need?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 30.06.2015, 14:27
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 70,222
Default

Could you please change your appkey to
1.) email where we can reach you
or
2.) github project name
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 30.06.2015, 14:29
noone2407 noone2407 is offline
Baby Loader
 
Join Date: Jun 2015
Posts: 9
Default

Quote:
Originally Posted by Jiaz View Post
Cool Was it easy? Do you need any help or have enough commands for what you need?
It is not too hard but it takes me 2 days.
I think now I can figure out all I need in the api document.
There are alot command I haven't implement in the code, I will update if I have time.:)
Reply With Quote
  #7  
Old 30.06.2015, 14:36
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 70,222
Default

Thanks for contributing!
__________________
JD-Dev & Server-Admin
Reply With Quote
  #8  
Old 31.08.2015, 16:39
Christophe0110
Guest
 
Posts: n/a
Default JD wrapper

Dear noone2407,

I've seen in this thread that you created a wrapper in c#...

Do you think you could send me your project so I can adapt your code to my vb .net application?

Thanks.
Regards,
Christophe.
Reply With Quote
  #9  
Old 31.08.2015, 16:53
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 70,222
Default

___://github.com/noone2407/MyJDownloaderApi
here you can find it
__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 31.08.2015, 20:10
Christophe0110
Guest
 
Posts: n/a
Default

Thanks a lot !
Reply With Quote
  #11  
Old 31.08.2015, 21:03
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 70,222
Default

You are welcome! Please let us know if you have coded something cool/nice
__________________
JD-Dev & Server-Admin
Reply With Quote
  #12  
Old 02.09.2015, 16:03
Christophe0110
Guest
 
Posts: n/a
Default

Do you also have a link to the php wrapper ?

Thanks.
Reply With Quote
  #13  
Old 02.09.2015, 16:07
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 70,222
Default

github.com/tofika/my.jdownloader.org-api-php-class
__________________
JD-Dev & Server-Admin
Reply With Quote
  #14  
Old 02.09.2015, 18:23
Christophe0110
Guest
 
Posts: n/a
Default

Thanks.

But I can't make to work the "/linkgrabberv2/removeLinks" function ! :(
This function is not implemented in the C# wrapper and in the php wrapper and I don't understand the API documentation saying that :
====- removeLinks -====
Parameter: 1 - long[]1
Parameter: 2 - long[]2
Call: /removeLinks?long[]1&long[]2

What "long[]1" and "long[]2" stand for?
Yes, I understand that it's variable type but I don't understand what to do and what to put in it...

:(

Last edited by Christophe0110; 02.09.2015 at 19:13.
Reply With Quote
  #15  
Old 02.09.2015, 19:26
noone2407 noone2407 is offline
Baby Loader
 
Join Date: Jun 2015
Posts: 9
Default

Quote:
Originally Posted by Christophe0110 View Post
Thanks.

But I can't make to work the "/linkgrabberv2/removeLinks" function ! :(
This function is not implemented in the C# wrapper and in the php wrapper and I don't understand the API documentation saying that :
====- removeLinks -====
Parameter: 1 - long[]1
Parameter: 2 - long[]2
Call: /removeLinks?long[]1&long[]2

What "long[]1" and "long[]2" stand for?
Yes, I understand that it's variable type but I don't understand what to do and what to put in it...

:(
So do I, that is why I haven't written that function yet. You can ask other programmer for specific api usage or read the java source code
Reply With Quote
  #16  
Old 02.09.2015, 19:30
Christophe0110
Guest
 
Posts: n/a
Default

Thanks for your reply noone2407 !

Do you know where i can find this java source code ? ^^
Reply With Quote
  #17  
Old 02.09.2015, 19:50
noone2407 noone2407 is offline
Baby Loader
 
Join Date: Jun 2015
Posts: 9
Default

Here it is
http://jdownloader.org/knowledge/wik...nt/get-started
Reply With Quote
  #18  
Old 02.09.2015, 20:35
Christophe0110
Guest
 
Posts: n/a
Default

Thanks but I prefert to stay with the API (as far as I can understand, this java help is for developping directly in the jDownloaded application)... The API will allow me to control my Downloader from another computer with my application...

I'll try to find a way to make this work and maybe get help from the chat or something
Reply With Quote
  #19  
Old 03.09.2015, 08:17
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 70,222
Default

The first long array contains all links uuids you want to delete
The 2nd long array contains all package uuids you want to delete
__________________
JD-Dev & Server-Admin
Reply With Quote
  #20  
Old 03.09.2015, 09:04
Christophe0110
Guest
 
Posts: n/a
Default

Hello Jiaz,

Thanks for your reply but how can I know the links uuids ?
I guess I need to use the queryLinks function and use the packageUUIDs param ?
Is it normal that it's named "packageUUIDs" and not "linkUUIDS" ?

Thanks.
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 11:09.
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 - 2021, Jelsoft Enterprises Ltd.