Cómo Crear un Dashboard del Ranking WTA con JavaScript usando Tennis API y RapidAPI
Bienvenid@ a Programación para Todos, un espacio personal donde documento aprendizajes técnicos, ideas y procesos de programación que he querido probar y entender por cuenta propia. Los casos y ejemplos que comparto no tienen referencia a mi trabajo, sino que son ejercicios, pruebas y escenarios recreados a partir de inquietudes técnicas personales. Este blog funciona como un compendio personal de conocimiento: código, ideas y reflexiones que decido compartir.
The goal of this project was to create a web page capable of displaying ATP rankings in a simple and visually appealing way. To accomplish this, I built a dashboard that retrieves data directly from Tennis API using JavaScript and the Fetch API. I used tennis-api.com
The application includes several useful features:
All information is loaded in real time and updated whenever the page is refreshed from tennis-api.com
You can try the live version of the dashboard here:
I also recorded a short video showing how to obtain an API Key from tennis-api.com through RapidAPI, explore the available endpoints, and test the dashboard:
Watch the English Video Tutorial
If you'd like to experiment with the project or customize it for your own applications, the complete source code is available for download.
The package includes:
Download ATP Tennis Dashboard Source Code
One feature I wanted to add was the ability to display detailed information about each player. To achieve this, every player name in the ranking table acts as a clickable link that triggers a second API request.
When a player is selected, the dashboard retrieves information such as:
This transforms the dashboard into an interactive application where users can explore detailed information about professional tennis players.
Comentarios
Publicar un comentario
Dejanos tus dudas y comentarios