Difference between revisions of "User:Eupeodes/Hashie"

From Geohashing
imported>Eupeodes
(hash)
imported>Eupeodes
(hash)
Line 4: Line 4:
 
  returns the geohash (or globalhash) for the given graticule and date. Parameters in square brackets are optional.  
 
  returns the geohash (or globalhash) for the given graticule and date. Parameters in square brackets are optional.  
 
  '''location''': The graticule or global. Defaults to the current globalhash if omitted.
 
  '''location''': The graticule or global. Defaults to the current globalhash if omitted.
Graticule is defined with latitude and longitude without decimals.
+
Graticule is defined with latitude and longitude without decimals.
Latitude and longitude have to be separated by a space and/or comma.
+
Latitude and longitude have to be separated by a space and/or comma.
 
  '''date''': A date in the ISO format yyyy-mm-dd. Defaults to a current date (for some time zones) if omitted.
 
  '''date''': A date in the ISO format yyyy-mm-dd. Defaults to a current date (for some time zones) if omitted.
  

Revision as of 23:28, 14 February 2014

Hashie is a bot on #geohashing. It will post the global hash of the current day and all available future days around the time zbot announces the new coordinates. Also it responds to a few commands.

hash

!# [location [date]] 
returns the geohash (or globalhash) for the given graticule and date. Parameters in square brackets are optional. 
location: The graticule or global. Defaults to the current globalhash if omitted.
Graticule is defined with latitude and longitude without decimals.
Latitude and longitude have to be separated by a space and/or comma.
date: A date in the ISO format yyyy-mm-dd. Defaults to a current date (for some time zones) if omitted.

tell

!tell person ...
Stores a message which will be displayed to "person" as soon as they say something in the IRC channel.

tweet

!tweet ...
Places a message in the queue for twitter, currently only Eupeodes can process this queue