All Projects → mmarquezs → My.Jdownloader-API-Python-Library

mmarquezs / My.Jdownloader-API-Python-Library

Licence: MIT license
My.Jdownloader API Python Library

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to My.Jdownloader-API-Python-Library

Pepy
pepy is a site to get statistics information about any Python package.
Stars: ✭ 369 (+467.69%)
Mutual labels:  mit, pip
passa
Resolver implementation and toolset for generating and interacting with Pipfile and Pipfile.lock.
Stars: ✭ 54 (-16.92%)
Mutual labels:  pip
LinkedIn Scraper
🙋 A Selenium based automated program that scrapes profiles data,stores in CSV,follows them and saves their profile in PDF.
Stars: ✭ 25 (-61.54%)
Mutual labels:  mit
mllint
`mllint` is a command-line utility to evaluate the technical quality of Python Machine Learning (ML) projects by means of static analysis of the project's repository.
Stars: ✭ 67 (+3.08%)
Mutual labels:  pip
MIT OCW 6-0001-introduction-to-computer-science-and-programming-in-python-fall-2016
MIT OCW 6.0001 Introduction to Computer Science and Programming in Python
Stars: ✭ 28 (-56.92%)
Mutual labels:  mit
samp-server-cli
Control server configuration via command line (without manually editing server.cfg)
Stars: ✭ 14 (-78.46%)
Mutual labels:  pip
ctc-asr
End-to-end trained speech recognition system, based on RNNs and the connectionist temporal classification (CTC) cost function.
Stars: ✭ 112 (+72.31%)
Mutual labels:  mit
ochrona-cli
A command line tool for detecting vulnerabilities in Python dependencies and doing safe package installs
Stars: ✭ 46 (-29.23%)
Mutual labels:  pip
micro-unfurl
Small microservice that unfurls a URL and returns the OpenGraph meta data
Stars: ✭ 28 (-56.92%)
Mutual labels:  mit
AvaTax-REST-V2-Python-SDK
Sales Tax API SDK for Python and AvaTax REST
Stars: ✭ 17 (-73.85%)
Mutual labels:  pip
pythonfinder
PythonFinder: Cross Platform Search Tool for Finding Pythons
Stars: ✭ 30 (-53.85%)
Mutual labels:  pip
pystyle
The source of my Python library, pystyle.
Stars: ✭ 158 (+143.08%)
Mutual labels:  pip
ngDownloader
📹 🎥 Now Download videos from any website including YouTube, Facebook, Udemy etc without ads.
Stars: ✭ 47 (-27.69%)
Mutual labels:  downloads
django-simple-forum
full featured forum, easy to integrate and use.
Stars: ✭ 65 (+0%)
Mutual labels:  pip
which-licenses-i-have
📝 Learn about the licenses around your package
Stars: ✭ 29 (-55.38%)
Mutual labels:  mit
django-payu
payu payment gateway integration for django projects
Stars: ✭ 37 (-43.08%)
Mutual labels:  pip
pip-download
A wrapper for pip download in offline scenario.
Stars: ✭ 22 (-66.15%)
Mutual labels:  pip
Zest Framework
Core files of AlphaZ Framework
Stars: ✭ 15 (-76.92%)
Mutual labels:  mit
typo3-secure-downloads
Secure your assets and data from unwanted download. Apply TYPO3 access rights to ALL file assets (PDFs, TGZs or JPGs etc. - configurable) - protect them from direct access.
Stars: ✭ 15 (-76.92%)
Mutual labels:  downloads
magento-grid-colors
Magento 2 Grid Colors module for colorizing admin grids. Supports saving of states with the help of grid's bookmarks.
Stars: ✭ 54 (-16.92%)
Mutual labels:  mit

My.Jdownloader-API-Python-Library

This a module for Python 2/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.

Is this dead?

No, it's true that I don't actively develop it, as in there are still functions not implemented. But if you find something missing, feel free to open an issue and I will take a look asap or even better, if you know how to add it feel free to do it and do a PR and I will merge it asap once I have test it.

Basically I develop it as in on demand kind of thing, if something is broken or something new is needed I take a look at it and try to fix it or add it.

Common Issues

⚠️ Are you having problems adding links? Are your links not getting their correct download folder or similar?

99,99% of the times is not an issue of the library, it is due the JDownloader Packagizer check this closed issue to understand why it happens and how you can make it work: #36

How to use the api?

NEW: Now you can install it using pip from the pypi repo.

pip install myjdapi

Example:

#First of all you have to make an instance of the Myjdapi class and set your APPKey:
import myjdapi

jd=myjdapi.Myjdapi()
jd.set_app_key("EXAMPLE")

"""
After that you can connect.
Now you can only connect using username and password.
This is a problem because you can't remember the session between executions
for this reason i will add a way to "connect" which is actually not connecting,
but adding the old tokens you saved. This way you can use this between executions
as long as your tokens are still valid without saving the username and password.
"""

jd.connect("email","password")

# When connecting it gets the devices also, so you can use them but if you want to
# gather the devices available in my.jdownloader later you can do it like this

jd.update_devices()

# Now you are ready to do actions with devices. To use a device you get it like this:
device=jd.get_device("TEST")
# The parameter by default is the device name, but you can also use the device_id.
device=jd.get_device(device_id="43434")

# After that you can use the different API functions.
# For example i want to get the packages of the downloads list, the API has a function under downloads called queryPackages,
# you can use it with this library like this:
device.downloads.query_packages([{
                "bytesLoaded" : True,
                "bytesTotal" : True,
                "comment" : False,
                "enabled" : True,
                "eta" : True,
                "priority" : False,
                "finished" : True,
                "running" : True,
                "speed" : True,
                "status" : True,
                "childCount" : True,
                "hosts" : True,
                "saveTo" : True,
                "maxResults" : -1,
                "startAt" : 0,
            }])

DOCUMENTATION

Sadly currently broken. In any case the documentation was generated with the pydoc comments inside the code itself so checking the code should be enough for now.

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

PROJECTS USING THE LIBRARY

Here are example of projects currently using the library. If you want to add your project feel free to open a PR so it gets added.

⚠️ WARNING: I am not endorsing or curating these projects and neither I am responsible nor liable for any problems, losses or damages caused by any of those libraries. Take your own precautions.

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].