code: def getViews(self, path, year=None, month=None, day=None, hour=None):
          
          if path is None:
              raise TelegraphAPIException("Error while executing getViews: "
                                          "PAGE_NOT_FOUND")
          r = requests.post(BASE_URL + "getViews/" + path, data={
              "year": year,
              "month": month,
              "day": day,
              "hour": hour,
          })
          if r.json()['ok'] is not True:
              raise TelegraphAPIException("Error while executing getViews: " +
                                          r.json()['error'])
          return r.json()['result']
docs: Use this method to get the number of views for a Telegraph article.
  
          :param path: Required. Path to the Telegraph page
          (in the format Title-12-31, where 12 is the month and 31 the day the article was first published).
          :type path: str
  
          :param year: Required if month is passed.
          If passed, the number of page views for the requested year will be returned.
          :type year: int
  
          :param month: Required if day is passed.
          If passed, the number of page views for the requested month will be returned.
          :type month: int
  
          :param day: Required if hour is passed.
          If passed, the number of page views for the requested day will be returned.
          :type day: int
  
          :param hour: If passed, the number of page views for the requested hour will be returned.
          :type hour: int
  
          :return: