pip3 install pypr0
For Debian and Ubuntu users:
apt install python python3-pip
pip3 install requests
Then clone the repository
git clone https://github.com/itssme/pypr0.git
For running the tests go into the cloned folder
cd pypr0
Run the tests with following command
python3 tests.py
For running tests with login
USERNAME="itssme" PASSWORD="1234" LOGIN="true" python3 tests.py
For examples see this repository: https://github.com/itssme/pypr0-examples
current version
- added new
pol
flag tocalculate_flag
function (ref: #10); thanks to @iFuzzle - fixed sql_manager and made it more resilient to API changes (new values will now be ignored and don't break the sql manager)
- improvement of the login functions (ref: #7); thanks to @chill0r
- added more documentation to api classes
- a lot of refactoring and cleaning up in all api functions
- passing 'newer' to
get_items_by_tag
is now deprecated, instead pass 'older' as a boolean and pass an 'item' as id (just like for any other api function) - more extensive tests
- passing multiple tags to items get now works again (ref: #6); thanks to @5n0wstorm
- added
get_collection_items
andget_collection_items_iterator
which gets the content of a collection (replacing favorites)
- updated to python3
thanks to @FritzJo