code: def post(self, command, data=None):
          
          now = calendar.timegm(datetime.datetime.now().timetuple())
          if now > self.expiration:
              auth = self.__open("/oauth/token", data=self.oauth)
              self.__sethead(auth['access_token'])
          return self.__open("%s%s" % (self.api, command),
                             headers=self.head, data=data)
docs: Post data to API.