title: How to check whether International Space Station is in the dark
body: <p>I'm building a website whereby if the international space station is in the dark (in Earth's shadow), it will do A, otherwise it'll do B.</p>
  
  <p>How can I achieve this? The closest I have come is a <a href="http://wsn.spaceflight.esa.int/iss/ISStracker2014b.swf" rel="nofollow">Flash file</a>, which I've decoded to a 3000+ file that I can't make sense of. I've thought about using an API, which I can call every second, that show this information, but have not been able to find one.</p>