-
Notifications
You must be signed in to change notification settings - Fork 1
Peers
Nathanael Burchill edited this page Oct 18, 2016
·
1 revision
SDK for the public peers API.
Gets list of peers from provided filter parameters.
risesdk.api.peers.getList(state: <state>, os: "<os>", version: "<version>", limit: <limit>, offset: <offset>, orderBy: "<field>")
- state: State of peer. 1 - disconnected. 2 - connected. 0 - banned.
- os: OS of peer.
- version: Version of peer.
- limit: Limit to show. Max limit is 100.
- offset: Offset to load.
- orderBy: Name of column to order. After column name must go "desc" or "acs" to choose order type.
All parameters are optional and joined by "OR".
risesdk.api.peers.get("<ip>", <port>)
risesdk.api.peers.version()