purely functional gitter API client