Giter VIP home page Giter VIP logo

Comments (7)

N4S4 avatar N4S4 commented on July 22, 2024 1

Hey, thank you. I will try it out! If u want, u can make a pr, or I'll add directly in case.
Let me know!

from synology-api.

N4S4 avatar N4S4 commented on July 22, 2024

Hi, thank you.
I will try to do my best to integrate the feature!

from synology-api.

insanity67 avatar insanity67 commented on July 22, 2024

Hi,

had the same problem, and did it the hacky way... just add this to your .../dist-packages/synology_api/core_active_backup.py:

def list_syno_active_backup_tasks(self) -> dict[str, object] | str:
    api_name = 'SYNO.ActiveBackup.Task'
    info = self.gen_list[api_name]
    api_path = info['path']

    req_param = {'version': '1',
                 'method': 'list',
                 'load_status': 'true',
                 'load_result': 'true'}

    return self.request_data(api_name, api_path, req_param)

Can be called via: list_syno_active_backup_tasks()

Unfortunately I was too lazy to do a pull request until now...

from synology-api.

insanity67 avatar insanity67 commented on July 22, 2024

Hey,

please add directly, no credit needed :) did not want to make a pr not knowing your exact naming scheme.

BTW, thx for that great project, helped me so much with Synology monitoring 👍🏻

from synology-api.

N4S4 avatar N4S4 commented on July 22, 2024

I will thank you for supporting!

from synology-api.

insanity67 avatar insanity67 commented on July 22, 2024

Hey there, just added a PR. Please report back if all is ok, thats my first pr ever :)

from synology-api.

N4S4 avatar N4S4 commented on July 22, 2024

Integrated with PR #142

from synology-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.