{"id":20915274,"url":"https://github.com/benjamindpb/qatar-2022-api","last_synced_at":"2025-07-19T11:02:00.952Z","repository":{"id":123364847,"uuid":"567563542","full_name":"benjamindpb/Qatar-2022-API","owner":"benjamindpb","description":"Proyecto del ramo La Web de Datos CC7220-1","archived":false,"fork":false,"pushed_at":"2023-02-03T19:31:05.000Z","size":25,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-19T16:16:05.526Z","etag":null,"topics":["api","flask-api","python3","sparql-query","wdqs","wikidata","wikidata-api"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benjamindpb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-18T03:41:59.000Z","updated_at":"2022-11-30T23:59:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"96f0ced8-87b7-4163-a9d5-4a039a30c4e3","html_url":"https://github.com/benjamindpb/Qatar-2022-API","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjamindpb%2FQatar-2022-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjamindpb%2FQatar-2022-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjamindpb%2FQatar-2022-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjamindpb%2FQatar-2022-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benjamindpb","download_url":"https://codeload.github.com/benjamindpb/Qatar-2022-API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243307497,"owners_count":20270263,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","flask-api","python3","sparql-query","wdqs","wikidata","wikidata-api"],"created_at":"2024-11-18T16:13:52.651Z","updated_at":"2025-03-12T23:13:42.799Z","avatar_url":"https://github.com/benjamindpb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![2022_FIFA_World_Cup_Qatar_(Wordmark) svg](https://user-images.githubusercontent.com/48598318/216691080-5b85772b-eccb-4e30-a683-7a492ffe336d.png)\n\n# Qatar 2022 API\nProyecto del ramo La Web de Datos CC7220-1 Primavera 2022.\n\nEste proyecto tiene por objetivo implementar una API para obtener información sobre el mundial de fútbol de la FIFA de Qatar 2022 usando el *endpoint* del servicio de consultas de Wikidata ([WDQS](https://query.wikidata.org/)).\n\n## Dependencias\nPara este proyecto se necesita contar con los siguientes paquetes: **flask** y **requests**. Para obtenerlos basta con ejecutar el siguiente comando en la consola:\n\n```console\npip install -r requierements.txt\n```\n## Ejecución de API\nPara correr la API se debe ejecutar el siguiente comando en la consola:\n\n```console\npy app.py\n```\n\nEste comando hosteará la API por defecto en **localhost:5000** (http://127.0.0.1:5000)\n\n## Usos (API *calls*)\nLa API cuenta con los siguientes casos de uso para obtener distinta información:\n\n- Participantes:\n  ```console\n  localhost:5000/qatar2022/participants\n  ```\n- Estadios:\n  ```console\n  localhost:5000/qatar2022/stadiums\n  ```\n- Grupos:\n  ```console\n  localhost:5000/qatar2022/groups\n  ```\n  - Información de grupo \u003cX\u003e:\n  ```console\n  localhost:5000/qatar2022/group/info/\u003cX\u003e\n  ```\n  - Resultados de grupo \u003cX\u003e:\n  ```console\n  localhost:5000/qatar2022/group/results/\u003cX\u003e\n  ```\n  **X debe ser un valor dentro de la siguiente lista: [A, B, C, D, E, F, G o H]**\n\n---\n\n[![Alt text](https://upload.wikimedia.org/wikipedia/commons/thumb/a/ae/Wikidata_Stamp_Rec_Dark.svg/200px-Wikidata_Stamp_Rec_Dark.svg.png \"Powered by Wikidata\")](https://www.wikidata.org/wiki/Wikidata:Main_Page)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenjamindpb%2Fqatar-2022-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenjamindpb%2Fqatar-2022-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenjamindpb%2Fqatar-2022-api/lists"}