instabot/api/api.py
def get_users_reel(self, user_ids):
        """
        Input: user_ids - a list of user_id
        Output: dictionary: user_id - stories data.
        Basically, for each user output the same as after self.get_user_reel
        """
        url = 'feed/reels_media/'
        res = self.send_request(
            url,
            post=self.json_data({
                'user_ids': [str(x) for x in user_ids]
            })
        )
        if res:
            if "reels" in self.last_json:
                return self.last_json["reels"]
            return []
        return []
def get_users_reel(self, user_ids):
        """
        Input: user_ids - a list of user_id
        Output: dictionary: user_id - stories data.
        Basically, for each user output the same as after self.get_user_reel
        """
        url = 'feed/reels_media/'
        res = self.send_request(
            url,
            post=self.json_data({
                'user_ids': [str(x) for x in user_ids]
            })
        )
        if res:
            if "reels" in self.last_json:
                return self.last_json["reels"]
            return []
        return []
def get_users_reel ( self , user_ids ) : url = 'feed/reels_media/' res = self . send_request ( url , post = self . json_data ( { 'user_ids' : [ str ( x ) for x in user_ids ] } ) ) if res : if "reels" in self . last_json : return self . last_json [ "reels" ] return [ ] return [ ]
Input: user_ids - a list of user_id
        Output: dictionary: user_id - stories data.
        Basically, for each user output the same as after self.get_user_reel
Input : user_ids - a list of user_id Output : dictionary : user_id - stories data . Basically for each user output the same as after self . get_user_reel