Automatic Coding

[API] Get peer information?

Recommended Posts

How do I get information about peers? For instance:-


1. Who's connected (IP)

2. What port

3. Their 'nice' name

4. What files they've got/downloaded/have 100% of.

5. How much I've got to upload to them

6. How much I've got to download from them

7. Speed I am uploading to them

8. Speed I am downloading from them

9. What port their WEB-UI is on (Useful for then querying them via the API, chain reactions!)*


*9 could very easily be replaced with some kind of 'remote' api function.


EDIT:- I'm an idiot. 3, 5 and 6 are answered with "get_folder_peers". However, 1, 2, 4, 7, 8 and 9 are still unanswered (Although, I may just not see 7 & 8 because 5 & 6 are 0, if so, please tell me).

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now