Urbackup api web wrapper and check_urbackup.py problem

Hello
I don’t uderstand how script check_urbackup.py it works

I have install rbackup-server-web-api-wrapper

root@raspberrypi:~/urbackup-server-python-web-api-wrapper# pip install urbackup-server-web-api-wrapper
Requirement already satisfied: urbackup-server-web-api-wrapper in /usr/local/lib/python3.9/dist-packages (0.11)

And when i launch the script i hve a problem

root@raspberrypi:~/urbackup-server-python-web-api-wrapper#  python check_urbackup.py --host 127.0.0.1 --password mypassword --user admin 
Traceback (most recent call last):
  File "check_urbackup.py", line 9, in <module>
    import urbackup_api
ImportError: No module named urbackup_api

could you help me ?

Hi @Antony. I’m not a Python guy so can’t help you with that, but out of curiosity, what problem are you trying to solve? I mean, what information about the server are you after? Do you want to use it manually or with some monitoring system?

I’m working on a small tool myself so I find it really interesting what others are using.