Places and times

Local times, places and addresses, distances, postal codes and where an IP address is.

Five commands answer where something is and what time it is there. Each answer with coordinates has a map link.

/time <place, coordinates or IP address>

The local date and time right now, with the time zone and its offset from UTC. Give a place, coordinates as latitude,longitude, or an IP address. With nothing after it: the visitor’s own local time, from their IP address.

Example
/time Tokyo
/place <place, address or coordinates>

Finds a place or a street address and gives its region, country, postal code when there is one, and coordinates. Give coordinates to learn what is there.

Example
/place Santa Clara, California, USA
Also
/geocode, /find
/distance <place> to <place>

The straight-line distance between two places, addresses or coordinates, in kilometres and miles. The two can also be joined by | or by a dash with spaces around it.

Example
/distance Paris to Berlin
/postal <postal code or town>

Up to 8 postal codes with their place, region and country, and up to 5 street addresses that have them. Give a code, a code and a town, or a town and a country.

Example
/postal 10115 Berlin
Also
/zip
/ip <IP address>

Where an IP address is: city, region, country and time zone. With nothing after it: the visitor’s own approximate location.

Example
/ip 8.8.8.8

When a place is not found, the answer says so. /time and /ip with nothing after them send the visitor’s IP address to Opensolr for the lookup; the other commands send only what the visitor wrote.

Commands

The Opensolr Chat Bot Client is open source and MIT licensed. Questions about your Opensolr account, index or plan go to opensolr.com/contact; questions about the client itself belong on GitHub.

Opensolr Chat Bot Documentation