'Get the newest version of a given package.
Emits success/error when done.
Args:
package: The name of the package to check.'

def get_version(self, package='qutebrowser'):

    url = QUrl(self.API_URL.format(package))
    self._client.get(url)
