def get_version(self):
        """
        Get the version number of the API.

        Example:

        >>> ts.get_version()
        1.3
        """

        result = self._client.get("version").content

        if isinstance(result, bytes):
            result = result.decode('utf-8')

        return result.strip('\n')
def get_version ( self ) : result = self . _client . get ( "version" ) . content if isinstance ( result , bytes ) : result = result . decode ( 'utf-8' ) return result . strip ( '\n' )
Get the version number of the API.

        Example:

        >>> ts.get_version()
        1.3