Technical Blog
ALL DATALOGS
1 Technical Documentation Entries on Record
1
Total Posts
100
Total Tags
3mh
Avg Read Time
556
Words Written
Converting a simple Python script into a professional web application that showcases real-time data visualization and API integration skills.
Connected Systems
Systems (1)
example.py
READY
@st.cache_data(ttl=60) # Cache for 1 minute
def get_iss_location():
"""Get current ISS position with error handling"""
try:
response = requests.get("http://api.open-notify.org/iss-now.json", timeout=10)
response.raise_for_status()
data = response.json()
return {
'latitude': float(data["iss_position"]["latitude"]),
'longitude': float(data["iss_position"]["longitude"]),
'timestamp': datetime.fromtimestamp(data["timestamp"])
}
except Exception as e:
st.error(f"Error fetching ISS location: {e}")
return None
Quick Filters:
0
DataLog entries