Skip to content

Commit

Permalink
Bump version for new release.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarquezs committed Apr 25, 2022
1 parent 17b433f commit 3347981
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
22 changes: 13 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
# 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

:warning: **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](https://github.com/mmarquezs/My.Jdownloader-API-Python-Library/issues/36)
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](https://github.com/mmarquezs/My.Jdownloader-API-Python-Library/issues/36)

## How to use the api?

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

> pip install myjdapi
Example:
Expand All @@ -28,20 +33,20 @@ 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,
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
# 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")
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")

Expand All @@ -66,24 +71,23 @@ device.downloads.query_packages([{
"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: **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.

* **PyYoutube2JD** - Allows JDownloader users to get all video links from a Youtube account (or playlist). - https://github.com/MarianoDesivo/PyYoutube2JD


- **PyYoutube2JD** - Allows JDownloader users to get all video links from a Youtube account (or playlist). - https://github.com/MarianoDesivo/PyYoutube2JD

# LICENSE

The MIT License (MIT)

Copyright (c) 2015 Marc Marquez Santamaria
Expand Down
2 changes: 1 addition & 1 deletion myjdapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@
MYJDUnknownException,
)

__version__ = "1.1.3"
__version__ = "1.1.4"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
long_description = f.read()
setup(
name='myjdapi',
version='1.1.3',
version='1.1.4',
description='Library to use My.Jdownloader API in an easy way.',
long_description=long_description,
url='https://github.com/mmarquezs/My.Jdownloader-API-Python-Library/',
Expand Down

0 comments on commit 3347981

Please sign in to comment.