Files
nym/explorer-api
Mark Sinclair ccf8063a52 Explorer API: add new HTTP resource to decorate mix nodes with geoip locations (#734)
* explorer-api: decorate mix nodes with locations from the geoip service and keep mix node cache in a hash map instead of a vec

* explorer-api: add `lat` and `lng` for map views

* explorer-api: remove function and simplify code

* explorer-api: review feedback

* network-explorer: format
2021-08-11 17:24:34 +01:00
..
2021-08-04 12:38:35 +01:00
2021-08-04 12:38:35 +01:00
2021-08-04 12:38:35 +01:00

Network Explorer API

An API that can:

  • calculate how many nodes are in which country, by checking the IPs of all nodes against an external service
  • serve "hello world" via HTTP

TODO:

  • record the number of mixnodes on a given date and write to a file for later retrieval
  • store the nodes per country state in a variable
  • grab mixnode description info via reqwest and serve it (avoid mixed-content errors)
  • serve it all over http
  • dependency injection
  • tests