Created
May 14, 2013 06:44
-
-
Save rohitdholakia/5574122 to your computer and use it in GitHub Desktop.
A snapshot of the utils file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def getCreationDate(elem): | |
return elem.get("CreationDate") | |
def getParent(elem): | |
return elem.get("ParentId") | |
def getPostTypeId(elem): | |
return elem.get("PostTypeId") | |
def getOwner(elem): | |
return elem.get("OwnerUserId") | |
def getViewCount(elem): | |
return elem.get("ViewCount") | |
def getupvotes(elem): | |
return elem.get("UpVotes") | |
def getdownvotes(elem): | |
return elem.get("DownVotes") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment