/lake-afton-api

An API endpoint to assist with LAPO activities

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Lake Afton API

An endpoint for getting data about Lake Afton Public Observatory http://api.lakeafton.com

Contribute

You're gonna need node.js, this was written on v8.11.3

  1. Make a fork
  2. Clone to your machine
  3. CD into the folder
  4. run npm install
  5. run npm start or nodemon start if you have nodemon installed.
  6. Write code
  7. Upload to your fork
  8. Submit a pull request

If you have any questions, you can reach out at sduncan@lakeafton.com

Endpoints

  • GET / -- returns a basic welcome message
  • GET /hours -- returns current hours of operation
  • GET /planets -- returns planets that are visible right now
  • GET /sun -- returns sunrise, sunset, twilight, and dusk information
  • GET /moon -- returns moonrise, moonset, and phase of the moon