1.0.3 • Published 1 year ago

kingsleague v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Deploy API Scrape Kings League Infojobs Website License: MIT

Mockup API Web

Spanish

Project Description

This project aims to create an API and web page for the Kings League Infojobs for educational purposes.

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

Technologies Used

To retrieve the data for the API, we use Web Scraping, Node.js, Hono, and the API hosting service Cloudflare Workers for building and deployment.

The web page is developed using the Astro framework and we use the CSS Tailwind framework to style the user interface. We have also used the Cherrio library to perform Web Scraping and obtain data from the Kings League Infojobs.

To test and validate the functionality of the application, we have used the Vitest testing library.

If you would like to help us, please take a moment to read the 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!

API

Address: https://api.kingsleague.dev/

The available endpoints are:

  • GET /leaderboard: Returns the Kings League ranking.
  • GET /teams: Returns all the teams in the Kings League.
  • GET /teams/:id: Returns a Kings League team.
  • GET /teams/:id/player-12: Returns a player 12 from a Kings League team.
  • GET /presidents: Returns all Kings League presidents.
  • GET /presidents/:id: Returns a president of a Kings League team.
  • GET /coaches: Returns all the coaches in the Kings League.
  • GET /coaches/:teamId: Returns the coach of a Kings League team.
  • GET /top-scorers: Returns the top scorers in the Kings League.
  • GET /top-scorers/:rank: Returns the top scorer according to their position in the Kings League ranking.
  • GET /top-assists: Returns the top assisters in the Kings League.
  • GET /top-assists/:rank: Returns the top assist according to their position in the Kings League ranking.
  • GET /mvp: Returns the Kings League MVPs.
  • GET /schedule: Returns the Kings League match schedule and the result of the matches played.
  • GET /players-12: Returns the 12 players of the Kings League.

Social Networks

Follow 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!

You can also join our community on Discord

LightHouse

Lighthouse Performance Badge Lighthouse Accessibility Badge Lighthouse Best Practices Badge Lighthouse SEO Badge