Topics/discover api env

Related: easybib/issues#147