1.0.3 • Published 6 years ago

dht-client-daemon v1.0.3

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

REST server to get the number of DHT peers

This is a nodejs REST server that exposes one endpoint to get the number of DHT peers.

It support multiple lookups using a single HTTP call. It does parallel calls with bittorrent-dht library that support parallel querying.

Example call:

GET /dht-peers?hashcsv=infoHash1,infoHash2,infoHashN

Response:

[{"hash":"infoHash1","peers":54}, {"hash":"infoHash2","peers":22}, {"hash":"infoHashN","peers":33}]
1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago