Added support for new OGS api

Switched to using 'requests' module instead of 'urllib2'