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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.