gets supported langs as an dictionary

def get_lang_dict(self):
        """gets supported langs as an dictionary"""
        r = self.yandex_translate_request("getLangs")
        self.handle_errors(r)

        return r.json()["langs"]