<input type="text" id="text">
<span id="result"></span>
window.onload = function(){
document.querySelector("#text").addEventListener("input",function(){
var res = "";
switch(this.value){
case "777":res = "Яблоки";break;
//case "value":res = "result";break;.
//case "value":res = "result";break;
//....
}
document.querySelector("#result").innerHTML = res;
});
}
export GOOGLE_APPLICATION_CREDENTIALS='some secret here' ; python3 bot-vk.py
GOOGLE_APPLICATION_CREDENTIALS = "test.json"
os.putenv("GOOGLE_APPLICATION_CREDENTIALS", "test.json")