Skip to content

Latest commit

 

History

History
61 lines (45 loc) · 2.35 KB

README.rst

File metadata and controls

61 lines (45 loc) · 2.35 KB

My.Jdownloader-API-Python-Library

My.Jdownloader API Python Library

This a module for Python 3 to interact with My.Jdownloader. This is in a WIP project.You're free to use it following the MIT license and any collaboration is appreciated.

To use this API you need to use a "APPkey".This APPkey can be anything you want but it's recommended to be something that identifies your project or a URL to it. Right now this module uses "http://git.io/vmcsk" as the APPKey, but this APPKey is intended just for testing and for little projects, it's recommended that you uses your own "APPKey" so if for some reason this APPKey gets blocked you don't get affected.

Right now the only things working are: - JD: - Connect,Disconnect,Reconnect,GetDevices,listDevices - JD.Device: - action,addLinks

Example of usage:

import myjdapi

jd=myjdapi.myjdapi()
jd.connect("[email protected]","password")
jd.getDevices()
jd.getDevice(name="DeviceName").linkgrabber.addLinks([{"autostart" : False, "links" : "https://mega.nz/#!xxxxxxxxxxxxxxxxxxxxxxxxxxxx,http://mediafire.com/download/xxxxxxxxxxxxxxxx/","packageName" : TEST" }])

DOCUMENTATION

http://myjdownloader-api-python-library.readthedocs.org/en/latest/myjdapi.html#module-myjdapi

LICENSE

The MIT License (MIT)

Copyright (c) 2015 Marc Marquez Santamaria

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.