python3 port of gdata-2.0.18 library