This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"estados": [ | |
{ | |
"sigla": "AC", | |
"nome": "Acre", | |
"cidades": [ | |
"Acrelândia", | |
"Assis Brasil", | |
"Brasiléia", | |
"Bujari", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//=======================================USO API DO YOUTUBE==================================== | |
//Parametros esperados; | |
- termo | |
- tipo | |
// URL DA API PARA BUSCAR VIDEOS DE ACORDO COM OS PARAMETROS PASSADOS | |
var youtubeURL = `https://youtube.googleapis.com/youtube/v3/search?key=${youtubeKey}&maxResults=5&type=video®ionCode=BR&videoCategoryId=27&videoDuration=medium&q=conceito ${termo}`; | |
//A API BUSCA NO YOUTUBE SOMENTE PARA RECOMENDAR Conhecimento |