code: def get_magic_shake(self, before=None, after=None):
          
          if before and after:
              raise Exception("You cannot specify both before and after keys")
  
          endpoint = '/api/magicfiles'
  
          if before:
              endpoint += '/before/{key}'.format(key=before)
          elif after:
              endpoint += '/after/{key}'.format(key=after)
  
          data = self._make_request("GET", endpoint=endpoint)
          return [SharedFile.NewFromJSON(sf) for sf in data['magicfiles']]
docs: From the API:
  
          Returns the 10 most recent files accepted by the 'magic' file selection
          algorithm. Currently any files with 10 or more likes are magic.
  
          Returns:
              List of SharedFile objects