Added APIv4 and APIv4RequestException. Made it Python 3 compatible.