New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adição de API para informações de Universidades Brasileiras #553
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Kudos, SonarCloud Quality Gate passed! |
|
||
console.log(university[0]); | ||
console.log(university[1]); | ||
console.log(university[2]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RIP. Poor's man debug has served us well. Please remove these lines.
import dados from './dados.json'; | ||
export const getUniversity = () => { | ||
const csvFile = | ||
'https://drive.usercontent.google.com/download?id=1Xp67e_xbtMhOWbB_1NPqThdRMSi8N5H8&export=download&authuser=0&confirm=t&uuid=9bad32eb-d301-4c29-bfae-1c6d5b7f0637&at=APZUnTVB2zejK5SdefoVyyMXvr_O:1701317057231'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a better public URL from google drive:
https://drive.google.com/file/d/<object_identifier>/view?usp=sharing
(share -> anyone with the link -> copy link)
export const getUniversity = () => { | ||
const csvFile = | ||
'https://drive.usercontent.google.com/download?id=1Xp67e_xbtMhOWbB_1NPqThdRMSi8N5H8&export=download&authuser=0&confirm=t&uuid=9bad32eb-d301-4c29-bfae-1c6d5b7f0637&at=APZUnTVB2zejK5SdefoVyyMXvr_O:1701317057231'; | ||
return dados; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, the actual implementation, according to the doc, is missing ...
Considerando a INEXESTÊNCIA de um endpoint acessivel capaz de fornecer dados sobre todas universidades brasileiras ativas, baseamos nossa ideia na criação de uma API capaz de listar informações de todas as universidades brasileiras. A fonte é uma lista fornecida oficialmente pelo MEC, na qual consta algumas informações sobre elas, como nome, código de identificação, entre outros. Além disso, é de suma importância destacar que se trata de uma lista estática.