def getResource(self, channel, resource = None):
    if self.skey == None:
      raise AuthenticationError("Authentication Error; Message: This method requires access key and secret key authentication!")

    endpoint = "%s/%s/resources" % ( __channelsEndpoint__, channel )

    if resource != None:
      endpoint = "%s/%s" % ( endpoint, resource )

    response = self.__getData__( endpoint, None, True )
    return response;
dataset/ETHPy150Open beebotte/bbt_python/beebotte/__init__.py/BBT.getResource/original