commitra/react-verse

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

開放

#86 建立於 2025年10月17日

 (7 則留言) (0 個反應) (0 位負責人)JavaScript (34 個分叉)auto 404
enhancementhacktoberfest

倉庫指標

星標
 (8 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南