get-steam-reviews.py
def parse_json_review(self, review, index):
        'Parses the json review text and adds it a list that will be written to csv'
        new_row = [
                    index,
                    self.appid,
                    review.get('review', 'N/A'),
                    review['author'].get('playtime_at_review', 'N/A'),
                    review.get('timestamp_created', 'N/A'),
                    review.get('voted_up', 'N/A'),
                    review.get('votes_up', 'N/A'),
                    review.get('votes_funny', 'N/A'),
                    review.get('weighted_vote_score', 'N/A'),
                    review.get('comment_count', 'N/A')
                    ]
        self.df.append(new_row)
        return
Parses the json review text and adds it a list that will be written to csv
Parses the json review text and adds it a list that will be written to csv
Parses the json review text and adds it a list that will be written to csv
def parse_json_review(self, review, index):
        new_row = [
                    index,
                    self.appid,
                    review.get('review', 'N/A'),
                    review['author'].get('playtime_at_review', 'N/A'),
                    review.get('timestamp_created', 'N/A'),
                    review.get('voted_up', 'N/A'),
                    review.get('votes_up', 'N/A'),
                    review.get('votes_funny', 'N/A'),
                    review.get('weighted_vote_score', 'N/A'),
                    review.get('comment_count', 'N/A')
                    ]
        self.df.append(new_row)
        return
def parse_json_review ( self , review , index ) : new_row = [ index , self . appid , review . get ( 'review' , 'N/A' ) , review [ 'author' ] . get ( 'playtime_at_review' , 'N/A' ) , review . get ( 'timestamp_created' , 'N/A' ) , review . get ( 'voted_up' , 'N/A' ) , review . get ( 'votes_up' , 'N/A' ) , review . get ( 'votes_funny' , 'N/A' ) , review . get ( 'weighted_vote_score' , 'N/A' ) , review . get ( 'comment_count' , 'N/A' ) ] self . df . append ( new_row ) return
Parses the json review text and adds it a list that will be written to csv
Parses the json review text and adds it a list that will be written to csv
'Parses the json review text and adds it a list that will be written to csv'
self
review
index