Giter VIP home page Giter VIP logo

backend-iss-location-assessment's Introduction


Where in the world is the International Space Station (ISS) ?

Objectives

  • Use the requests package to query real-world data
  • Improve skills with dictionaries and indexing
  • Learn about the built-in Python Turtle graphics library

Part A

Using this public API, write a python program to obtain a list of the astronauts who are currently in space.  Print their full names, the spacecraft they are currently on board, and the total number of astronauts in space.

http://api.open-notify.org/astros.json

Part B

Using another public API, obtain the current geographic coordinates (lat/lon) of the space station, along with a timestamp.

http://api.open-notify.org/iss-now.json

Part C

With the turtle graphics library (part of standard Python), create a graphics screen with the world map background image.  Use turtle methods such as Screen, setup, bgpic, setworldcoordinates.  Register an icon image for the ISS station within the turtle screen context, and create a turtle.Turtle() context to move the ISS station to its current lat/lon on the map.  Use methods such as shape, setheading, penup, and goto.

Part D

Find out the next time that the ISS will be overhead of Indianapolis IN.  Use our geographic lat/lon to plot a yellow dot on the map.  Use this public API to query the next pass:

http://api.open-notify.org/iss-pass.json

You will need to supply the lat/lon coordinates as query parameters to this url.  The passover times are returned as timestamps, so you will need to use the time.ctime() method to convert them to human-readable text.  Render the next passover time next to the Indianapolis location dot that you plotted earlier.

PR (Pull Request) Workflow for this Assignment

  1. Fork this repository into your own personal github account.
  2. Then Clone your own repo to your local development machine.
  3. Create a separate branch named dev, and checkout the branch.
  4. Commit your changes, then git push the branch back to your own github account.
  5. From your own Github repo, create a pull request (PR) from your dev branch back to your own master.
  6. Copy/Paste the URL link to your PR as your assignment submission.
  7. Your grader will post code review comments inline with your code, in your github account. Be sure to respond to any comments and make requested changes. RESUBMIT a new link to your PR after making changes. This is the code review iteration cycle.

backend-iss-location-assessment's People

Contributors

madarp avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.