def set_attributes_from_altmetric_post(self, post):
        self.tweet_id = post["tweet_id"]
        self.screen_name = post["author"]["id_on_source"]                
        self.tweet_timestamp = post["posted_on"]
        if "geo" in post["author"]:
            self.country = post["author"]["geo"].get("country", None)
        return self
dataset/ETHPy150Open Impactstory/total-impact-webapp/totalimpactwebapp/tweet.py/Tweet.set_attributes_from_altmetric_post/original