{"id":18614053,"url":"https://github.com/midudev/kings-league-project","last_synced_at":"2025-05-15T15:05:59.114Z","repository":{"id":65271356,"uuid":"584852135","full_name":"midudev/kings-league-project","owner":"midudev","description":"API y website de la Kings League Infojobs por temas didácticos","archived":false,"fork":false,"pushed_at":"2023-01-22T07:06:01.000Z","size":49805,"stargazers_count":1502,"open_issues_count":14,"forks_count":218,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-05-13T19:13:32.947Z","etag":null,"topics":["kings-league","kings-league-infojobs","kingsleague"],"latest_commit_sha":null,"homepage":"https://kingsleague.dev","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/midudev.png","metadata":{"files":{"readme":"README.en.md","changelog":null,"contributing":"CONTRIBUTING.es.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2023-01-03T17:20:23.000Z","updated_at":"2025-04-09T13:29:40.000Z","dependencies_parsed_at":"2023-02-12T15:01:44.570Z","dependency_job_id":null,"html_url":"https://github.com/midudev/kings-league-project","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/midudev%2Fkings-league-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/midudev%2Fkings-league-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/midudev%2Fkings-league-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/midudev%2Fkings-league-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/midudev","download_url":"https://codeload.github.com/midudev/kings-league-project/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254364270,"owners_count":22058878,"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":["kings-league","kings-league-infojobs","kingsleague"],"created_at":"2024-11-07T03:24:53.752Z","updated_at":"2025-05-15T15:05:59.062Z","avatar_url":"https://github.com/midudev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003ch1\u003e👑 Kings League Infojobs Project ⚽️\u003c/h1\u003e\n\n[![Deploy API](https://github.com/midudev/kings-league-project/actions/workflows/deploy-api.yml/badge.svg?branch=main)](https://github.com/midudev/kings-league-project/actions/workflows/deploy-api.yml) [![Scrape Kings League Infojobs Website](https://github.com/midudev/kings-league-project/actions/workflows/scrape-kings-league-web.yml/badge.svg?branch=main)](https://github.com/midudev/kings-league-project/actions/workflows/scrape-kings-league-web.yml) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n\u003ch2\u003e\u003ca href='https://api.kingsleague.dev/'\u003eAPI\u003c/a\u003e | \u003ca href='https://kingsleague.dev'\u003eWEB\u003c/a\u003e\u003c/h2\u003e\n\u003c/div\u003e\n\n![Mockup API Web](assets/static/ui-mockup-web-api.png)\n\n\n\u003cdetails\u003e\n  \u003csummary\u003eTable of contents\u003c/summary\u003e\n  \u003col\u003e\n    \u003cli\u003e\n      \u003ca href=\"#project-description\"\u003eProject description\u003c/a\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\n      \u003ca href=\"#technologies-used\"\u003eTechnologies used\u003c/a\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#api\"\u003eAPI\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#social-networks\"\u003eSocial networks\u003c/a\u003e\u003c/li\u003e\n\t\t\u003cli\u003e\u003ca href=\"#lighthouse\"\u003eLighthouse\u003c/a\u003e\u003c/li\u003e\n\t\t\u003cli\u003e\u003ca href=\"#about-author\"\u003eAbout Author\u003c/a\u003e\u003c/li\u003e\n  \u003c/ol\u003e\n\u003c/details\u003e\n\n[![Spanish](https://img.shields.io/badge/language-Spanish-blue.svg)](README.md)\n\n[![kings league project](https://jordinodejs.vercel.app/api/pin/?username=midudev\u0026repo=kings-league-project\u0026theme=calm\u0026bg_color=ff7b25\u0026title_color=000000\u0026icon_color=d64161\u0026border_color=d64161\u0026text_color=eeeee4)](https://github.com/midudev/kings-league-project)\n## Project Description\n\nThis project aims to create an API and web page for the [Kings League Infojobs](https://kingsleague.pro) for educational purposes.\n\nThe API provides access to data for teams, presidents, coaches, goal scorers, and assistants in the Kings League, and the web page offers information on the teams, results, and rankings in the league.\n\n### Technologies Used\n\nTo retrieve the data for the API, we use *Web Scraping*, [Node.js](https://nodejs.org/en/), [Hono](https://honojs.dev/), and the API hosting service [Cloudflare Workers](https://workers.cloudflare.com/) for building and deployment.\n\nThe web page is developed using the [Astro](https://astro.build/) framework and we use the [CSS Tailwind](https://tailwindcss.com/) framework to style the user interface. We have also used the [Cherrio](https://github.com/cheeriojs/cheerio) library to perform *Web Scraping* and obtain data from the **Kings League Infojobs**.\n\nTo test and validate the functionality of the application, we have used the [Vitest](https://vitest.dev/) testing library.\n\nIf you would like to help us, please take a moment to read the [CONTRIBUTING.md](https://github.com/midudev/kings-league-project/blob/main/CONTRIBUTING.md) file. You will find useful information there on how to effectively contribute and follow our style guides. We hope you enjoy collaborating with us!\n\n## API\n\nAddress: https://api.kingsleague.dev/\n\nThe available endpoints are:\n\n - GET `/leaderboard`: Returns the Kings League ranking.\n - GET `/teams`: Returns all the teams in the Kings League.\n - GET `/teams/:id`: Returns a Kings League team.\n - GET `/teams/:id/player-12`: Returns a player 12 from a Kings League team.\n - GET `/teams/:id/players/:playerId`: Returns a player from a Kings League team.\n - GET `/presidents`: Returns all Kings League presidents.\n - GET `/presidents/:id`: Returns a president of a Kings League team.\n - GET `/coaches`: Returns all the coaches in the Kings League.\n - GET `/coaches/:teamId`: Returns the coach of a Kings League team.\n - GET `/top-scorers`: Returns the top scorers in the Kings League.\n - GET `/top-scorers/:rank`: Returns the top scorer according to their position in the Kings League ranking.\n - GET `/top-assists`: Returns the top assisters in the Kings League.\n - GET `/top-assists/:rank`: Returns the top assist according to their position in the Kings League ranking.\n - GET `/mvp`: Returns the Kings League MVPs.\n - GET `/schedule`: Returns the Kings League match schedule and the result of the matches played.\n - GET `/players-12`: Returns the 12 players of the Kings League.\n\n## Social Networks\n\nFollow us on our Twitch channel to see how we are progressing in the development of the project or follow us on YouTube for more content about full-stack development!\n\n- [Twitch](https://twitch.tv/midudev)\n- [YouTube](https://www.youtube.com/c/midudev)\n\nYou can also join our community on [Discord](https://discord.gg/midudev)\n\n## LightHouse\n\n[![Lighthouse Performance Badge](./test_results/lighthouse_performance.svg)](https://github.com/midudev/kings-league-project)\n[![Lighthouse Accessibility Badge](./test_results/lighthouse_accessibility.svg)](https://github.com/midudev/kings-league-project)\n[![Lighthouse Best Practices Badge](./test_results/lighthouse_best-practices.svg)](https://github.com/midudev/kings-league-project)\n[![Lighthouse SEO Badge](./test_results/lighthouse_seo.svg)](https://github.com/midudev/kings-league-project)\n\n## About Author\n\n\u003cp\u003e\u0026nbsp;\u003cimg align=\"center\" src=\"https://jordinodejs.vercel.app/api?username=midudev\u0026show_icons=true\u0026locale=en\u0026theme=calm\" alt=\"midudev\" /\u003e\u003c/p\u003e\n\n\u003cp\u003e\u003cimg align=\"left\" src=\"https://jordinodejs.vercel.app/api/top-langs?username=midudev\u0026show_icons=true\u0026locale=en\u0026layout=compact\u0026theme=calm\u0026langs_count=8\u0026hide=php,coffeescript\" alt=\"midudev\" /\u003e\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmidudev%2Fkings-league-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmidudev%2Fkings-league-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmidudev%2Fkings-league-project/lists"}