https://github.com/notrustverify/map
https://github.com/notrustverify/map
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/notrustverify/map
- Owner: notrustverify
- License: gpl-3.0
- Created: 2022-12-09T09:26:55.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-16T07:26:55.000Z (over 2 years ago)
- Last Synced: 2024-03-16T08:31:08.090Z (over 2 years ago)
- Language: Python
- Size: 126 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nym nodes geo
There's no visual way to know where the gateway in the world, this repo aims to solve this by giving an API where the coordinates are retrieved from the public IP and return the country too
## Endpoints
### Gateways
[https://map.notrustverify.ch/map/gateways](https://map.notrustverify.ch/map/gateways)
```json
{
"gateways": [
{
"country": "CH",
"created_on": "Fri, 09 Dec 2022 09:46:05 GMT",
"identityKey": "2BuMSfMW3zpeAjKXyKLhmY4QW1DXurrtSPEJ6CjX3SEh",
"latitude": 47.3667,
"longitude": 8.55,
"updated_on": "Fri, 09 Dec 2022 09:46:05 GMT"
},
...
],
"num_gateways": 55,
"last_update": "Fri, 09 Dec 2022 09:46:13 GMT"
}
```
### Countries
[https://map.notrustverify.ch/map/gateways/countries](https://map.notrustverify.ch/map/gateways/countries)
### Organisations
[https://map.notrustverify.ch/map/gateways/organisation](https://map.notrustverify.ch/map/gateways/organisation)
### AS
[https://map.notrustverify.ch/map/gateways/asn](https://map.notrustverify.ch/map/gateways/asn)
### Continents
[https://map.notrustverify.ch/map/gateways/continents](https://map.notrustverify.ch/map/gateways/continents)