code: def station_tick_history(self, station_ID, limit=None):
          
          assert isinstance(station_ID, int), "'station_ID' must be int"
          if limit is not None:
              assert isinstance(limit, int), "'limit' must be an int or None"
              if limit < 1:
                  raise ValueError("'limit' must be None or greater than zero")
          station_history = self._retrieve_station_history(station_ID, limit,
                                                           "tick")
          if station_history is not None:
              return historian.Historian(station_history)
          else:
              return None
docs: Queries the OWM Weather API for historic weather data measurements for the
          specified meteostation (eg: 2865), sampled once a minute (tick).
          A *StationHistory* object instance is returned, encapsulating the
          measurements: the total number of data points can be limited using the
          appropriate parameter
  
          :param station_ID: the numeric ID of the meteostation
          :type station_ID: int
          :param limit: the maximum number of data points the result shall
              contain (default is ``None``, which stands for any number of data
              points)
          :type limit: int or ``None``
          :returns: a *StationHistory* instance or ``None`` if data is not
              available for the specified meteostation
          :raises: *ParseResponseException* when OWM Weather API responses' data
              cannot be parsed, *APICallException* when OWM Weather API can not be
              reached, *ValueError* if the limit value is negative