Community Projects Page

We are happy to announce that we have added a projects page to the site to show off things API users have built! You can check it out here and if you have something you’ve built that you’d like us to share let us know!

4 comments

  1. Mark Moore says:

    I’m building an arduino based ISS-lamp .. you’ve probably heard of the original..

    I wan’t to do a complete writeup after it’s done, but at the moment i’m having trouble getting non-visible passes out of the uhaapi.. I tried adding &visible=all to the end of my call, but it doesn’t seem to do anything.. any hints?

    • Kevin Loney says:

      The API does not currently support retrieval of all pass information. This is a side-effect of the way Heavens Above organizes their data and requires making some strange POST requests which I haven’t reverse engineered yet. I will hopefully have some time this weekend that I could do a little more digging.

  2. jay says:

    I used to scrape heavens-above directly to turn on a lamp (x10).
    I thought it would be “simple” to use uhaapi json. I’m not a perl
    programmer, but I hack away. I’ve spent two days trying to parse the json to put in mysql.. any pointers for parsing would be appreciated.
    .. I’ve googled and googled. closest I can do is: $json->{‘results’}->[0]->{‘max’}->{‘alt’}, but that is NOT the way to parse.

    Thanks

    • Kevin Loney says:

      I am assuming you are having trouble getting from ‘{id:12345,results[...]}’ to some kind of object you can work with in perl. There are a few options for handling perl in JSON:
      -https://github.com/mnunberg/perl-JSON-SL
      -http://search.cpan.org/search?query=JSON

      If this doesn’t help and I misunderstand don’t hesitate to reach out to me via the email link in the left sidebar and I can give you more of a hand.

Leave a Reply

Your email address will not be published. Required fields are marked *