def get_portal_by_id(self, ID):
headers = { '<STR_LIT>': self.user_agent(),<EOL>'<STR_LIT>': self.domain(),<EOL>'<STR_LIT>': '<STR_LIT>'<EOL>}<EOL>headers.update(self.headers())<EOL>r = requests.get(   self.portals_url()+'<STR_LIT>'+str(ID),<EOL>headers=headers,<EOL>auth=self.auth())<EOL>if HTTP_STATUS.OK == r.status_code:<EOL><INDENT>return r.json()<EOL><DEDENT>else:<EOL><INDENT>print("<STR_LIT>".format(<EOL>r.status_code, r.reason))<EOL>r.raise_for_status()<EOL><DEDENT>
Returns a portal object by ID input. 

            http://docs.exosite.com/portals/#get-portal