Returns a SharedFile object given by the sharekey.

        Args:
            sharekey (str): Sharekey of the SharedFile you want to retrieve.

        Returns:
            SharedFile

def get_shared_file(self, sharekey=None):
        """
        Returns a SharedFile object given by the sharekey.

        Args:
            sharekey (str): Sharekey of the SharedFile you want to retrieve.

        Returns:
            SharedFile
        """
        if not sharekey:
            raise Exception("You must specify a sharekey.")
        endpoint = '/api/sharedfile/{0}'.format(sharekey)
        data = self._make_request('GET', endpoint)
        return SharedFile.NewFromJSON(data)