Skip to content

shreyamalogi/Real-time-ISS-Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Real Time ISS Tracker πŸ›°οΈπŸŒ

Welcome to the beginner-friendly project - " Real Time ISS Tracker project! "

Crafted and taught by Shreya Malogi! 🌐

GitHub stars

Project Details: πŸ’»πŸŒπŸ“…βœοΈ

  • Functionality: Tracks the International Space Station's (ISS) current location using the Open Notify API.
  • Tech Stack: Python, Requests, Open Notify API
  • Author: @shreyamalogi
  • Year of Project: 2021

Table of Contents

Introduction

πŸš€ This Python script utilizes the Open Notify API to effortlessly retrieve and display the current location of the International Space Station (ISS). Whether you're an astronomy enthusiast or simply curious, join us in exploring the wonders of space and contribute to this spellbinding journey! ⭐

How It Works

  1. The script makes an API request to Open Notify.
  2. It uses the requests library to handle the HTTP request.
  3. The raise_for_status() method checks for any errors in the API response.
  4. The JSON response is then parsed to extract the ISS's current latitude and longitude.
  5. The latitude and longitude are stored in a tuple named iss_position.
  6. Finally, the script prints the ISS's current position.

Dependencies

  • Requests: Used for making HTTP requests to the Open Notify API.

Installation

Clone the repository to your local machine:

git clone https://github.com/shreyamalogi/Real-Time-ISS-Tracker.git

Ensure you have the necessary dependencies installed by running:

pip install requests

Running the Script

Navigate to the project directory:

cd Real-Time-ISS-Tracker

Execute the following command:

python main.py

The script will fetch and display the ISS's current location. Enjoy tracking! πŸŒπŸ›°οΈ

Example Output

('33.3136', '-9.0541')

Contribution

Feel the magic within you? Contribute to this enchanting spellbook and make it even more magical. Don't forget to star the project! ⭐🌟

License

This ISS Tracker script is licensed under the MIT License.

MIT License

Copyright (c) 2021 Shreya Malogi

Happy tracking! πŸ›°οΈπŸŒ

About

πŸ›°οΈ Explore the Cosmos in Real Time! πŸš€ using Open-Notify API 🌐

Topics

Resources

License

Stars

Watchers

Forks

Languages