Page 1 of 1

Tranmission Javascript API

Posted: Tue Dec 29, 2015 1:03 pm
by duduamar
Hi

I am trying to write a small chrome extension that communicates with my Transmission daemon.

Is there a REST API for Transmission? If not, is there any simple example for small javascript code that communicates with Transmission?

Thanks!

Re: Tranmission Javascript API

Posted: Tue Dec 29, 2015 7:57 pm
by duduamar
I can't use node in a simple chrome extension code, can I? I can't rely on node installed... And the spec doesn't give a basic example. I tried runinng http post with body {"method":"torrent-get"} but as I result I got: { "arguments": {}, "result": "no method name"}, any idea why?