NASA Collage

Thu, Dec 13, 2018 One-minute read

One of the most popular websites at NASA is the Astronomy Picture of the Day. And it uses NASA Open API which returns image of the day by specifying date in the format YYYY-MM-DD.


Using this API and Go build the smallest possible rectangular collage. Or return an error if there is no possible combination between all dates.


  • One photo can’t be used more than once on the collage.
  • It should be more than one photo on the collage.

Note: you may hit the rate limit (1000 requests per hour).

Submit PR with code and photo file collage.png.


This is a Christmas challenge, so the first person who submits the solution will receive a nice sticker pack from me (I will ask you your address after receiving the correct PR)!