Skip to content
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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

thativam
Copy link

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.

Copy link

vercel bot commented Nov 30, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
brasilapi ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 30, 2023 10:01am

Copy link

sonarcloud bot commented Nov 30, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information


console.log(university[0]);
console.log(university[1]);
console.log(university[2]);
Copy link

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';
Copy link

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;
Copy link

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 ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants