Skip to content

BlaM/my.jdownloader.org-api-php-class

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A PHP wrapper class for My.jdownloader.org API.

Using my.jdownloader.org-api-php-class

First, you need JDownloader 2 Beta installed on your PC or other hardware, visit http://jdownloader.org/download/offline.

Setup JDownloader for my.jdownloader.org in Settings/My.JDownloader.

If you already registered at my.jdownloader.org than simply fill fields Username/Email, Password and Device Name, otherwise press button "Go to My.JDownloader.org" and complete registration.

Now you can initialize the class

<?php
    require_once 'myjdapi_class.php';

    $j = new MYJDAPI();
?>

Connect to my.jdownloader.org

<?php
    require_once 'myjdapi_class.php';

    $j = new MYJDAPI();
    $j -> connect( "EMAIL", "PASSWORD");
?>

or use this method to initialize the class

<?php
    require_once 'myjdapi_class.php';

    $j = new MYJDAPI( "EMAIL", "PASSWORD");
?>

Available methods: connect, reconnect, disconnect, enumerateDevices, getDirectConnectionInfos, callAction, addLinks, and more maybe later.

Add links to jdownloader and start it

<?php
    require_once 'myjdapi_class.php';

    $j = new MYJDAPI( "EMAIL", "PASSWORD");
    $j -> addLinks( "YOUR_DEVICE_NAME", "LINKS", "PACKAGE_NAME");
?>

Copyright (c) 2014 Anatoliy Kultenko "tofik" Released under the BSD License, see http://opensource.org/licenses/BSD-3-Clause

About

A PHP wrapper class for My.jdownloader.org API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%