Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service IP address #64

Open
DJTommek opened this issue Mar 23, 2021 · 1 comment
Open

Service IP address #64

DJTommek opened this issue Mar 23, 2021 · 1 comment
Labels
good first issue Good for newcomers new service New website, code or coordinate to process

Comments

@DJTommek
Copy link
Owner

Example input and their coordinates

Input Coordinates
77.75.75.176 (seznam.cz) 50.0880, 14.4208
172.217.23.238 (google.com) 50.087736,14.422685

IP addresses loaded using ping, coordinates gathered from https://www.iplocation.net/ip-lookup

Description (optional)

If IP address is provided, try to use some geolocation API service to get location.

@DJTommek DJTommek added good first issue Good for newcomers new service New website, code or coordinate to process labels Mar 23, 2021
@DJTommek
Copy link
Owner Author

Free API, that could be used: https://ip-api.com/
Request: http://ip-api.com/json/24.48.0.1
Response:

{
	"status": "success",
	"country": "Canada",
	"countryCode": "CA",
	"region": "QC",
	"regionName": "Quebec",
	"city": "Montreal",
	"zip": "H1A",
	"lat": 45.6752,
	"lon": -73.5022,
	"timezone": "America/Toronto",
	"isp": "Le Groupe Videotron Ltee",
	"org": "Videotron Ltee",
	"as": "AS5769 Videotron Telecom Ltee",
	"query": "24.48.0.1"
}

kefacz pushed a commit to kefacz/better-location that referenced this issue Nov 3, 2022
kefacz pushed a commit to kefacz/better-location that referenced this issue Nov 3, 2022
kefacz pushed a commit to kefacz/better-location that referenced this issue Nov 3, 2022
kefacz pushed a commit to kefacz/better-location that referenced this issue Feb 13, 2023
kefacz pushed a commit to kefacz/better-location that referenced this issue Feb 17, 2023
kefacz pushed a commit to kefacz/better-location that referenced this issue Feb 17, 2023
kefacz pushed a commit to kefacz/better-location that referenced this issue Feb 17, 2023
kefacz pushed a commit to kefacz/better-location that referenced this issue Feb 17, 2023
kefacz pushed a commit to kefacz/better-location that referenced this issue Feb 17, 2023
kefacz pushed a commit to kefacz/better-location that referenced this issue Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers new service New website, code or coordinate to process
Projects
None yet
Development

No branches or pull requests

1 participant