Can Rclone be used as a Library or an Api?

Hi Aman,

Yes, I suggest you take a look at the rclone Remote Control:

It can be called by HTTP requests or directly from code as mentioned in this post: