commitra/react-verse

Space.jsx : Add Altitude & Velocity via Alternative API in Space.jsx

オープン

#86 opened on 2025/10/17

 (7 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (34 件のフォーク)auto 404
enhancementhacktoberfest

Repository metrics

Stars
 (8 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Integrate altitude and velocity data for the International Space Station (ISS) using a free and reliable alternative API. Currently, the dashboard in Space.jsx displays basic ISS information. This enhancement aims to enrich the data visualization by adding live altitude and velocity readings.

Requirements:

Research and select a free API providing ISS altitude and velocity (e.g., Open Notify, Where The ISS At? API). Fetch and display the ISS altitude (in kilometers) and velocity (in km/h or mph). Ensure data updates dynamically along with existing ISS location info. Format and label the values clearly for better readability.

Acceptance Criteria:

✅ Altitude and velocity data successfully retrieved from an alternative API. ✅ Data displayed alongside other ISS information on the dashboard. ✅ Values auto-refresh in sync with the current ISS position updates. ✅ Graceful handling of API errors (fallback or “data unavailable” message).

Bonus (Optional):

Add small visual indicators (📈 icons or motion animation) for velocity changes. Allow user to toggle between metric (km/h) and imperial (mph) units.

コントリビューターガイド