Garet Report post Posted November 14, 2013 So I figured before I start my ventures in writing some scripts for Sync, I'd create a nice and easy way to access the API from PHP. It has all the current API functions included. It requires a Sync install with the API enabled. Link : iGARET/BTSync-PHPDocs: http://igaret.github.io/BTSync-PHP/classes/BTSync.html Let me know if you have any questions/suggestions! Quote Share this post Link to post Share on other sites
gregcaulder Report post Posted March 4, 2014 So I figured before I start my ventures in writing some scripts for Sync, I'd create a nice and easy way to access the API from PHP. It has all the current API functions included. It requires a Sync install with the API enabled. Link : iGARET/BTSync-PHPDocs: http://igaret.github.io/BTSync-PHP/classes/BTSync.html Let me know if you have any questions/suggestions! You didn't add in anything for the ability to pass a username and password.I added it on my own and got it to work. Quote Share this post Link to post Share on other sites
Garet Report post Posted March 7, 2014 I've looked over your changes and included it in the repo now. Thanks for the feedback. Quote Share this post Link to post Share on other sites
mikeyF Report post Posted May 27, 2014 (edited) Hi !i'm not a very good php programmer can you give me the minimum to get started with your wrapper ? Edited May 27, 2014 by mikeyF Quote Share this post Link to post Share on other sites
s3v Report post Posted September 17, 2014 Great thank you! Quote Share this post Link to post Share on other sites
lexoyo Report post Posted October 13, 2014 Hi Garet! Thank you for sharing! I stared your repo It looks like the documentation is available here (your original link is dead now) Could you explain what is the point of having a BTSync instance running on a server? Is it to make a centralized "dropbox like" service like Dropbox? Quote Share this post Link to post Share on other sites
danhunsaker Report post Posted November 6, 2014 @lexoyo - That's one option. However, it's mostly so that you have a BTSync API to access in the first place. BTSync uses HTTP for its API, so it has to be running someplace your PHP script can access it via HTTP(S) - the simplest option is the same server PHP is running on, though you can of course set things up differently if that suits your use case. Quote Share this post Link to post Share on other sites