Public
Readme
This val gets a visitor's IP address and returns their geolocation data from ipinfo.io
- Fork this val
- Add
IPINFO_TOKEN
to your environment variables
This will return the most recent track you have been listening to, along with the artist and artwork.
{
"ip": "200.53.225.125",
"hostname": "pool-200-53-225-125.nycmny.fios.verizon.net",
"city": "New York City",
"region": "New York",
"country": "US",
"loc": "39.7143,-72.0060",
"org": "AS01 Verizon",
"postal": "10280",
"timezone": "America/New_York"
}
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
charmaine-ipinfoexample.web.val.run
Updated: February 10, 2025