def wordpress_post_id_from_nid(self, nid):
        try:
            return json.loads(nid)["wordpress_post_id"]    
        except (KeyError, __HOLE__):
            return None
dataset/ETHPy150Open Impactstory/total-impact-core/totalimpact/providers/wordpresscom.py/Wordpresscom.wordpress_post_id_from_nid