NextMeal / menuformatter

USNA menu feed formatter written in Go for Google Spreadsheets

Home Page:http://nextmeal.tk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

USNA King Hall galley Google Spreadsheet menu parser for Next Meal

Getting the Next Meal app

Using the Next Meal API

Deploy

  • Galley menu located here.

    • Feed
      • add /GIDHERE/public/values?hl=en_US&alt=json
      • example.
  • Each week has a different spreadsheet GID.

    • Spreadsheet IDs increment by one from 1 - 6.
  • Formats into a JSON dictionary of days of the week.

    • Each day is a dictionary of meals.
      • Each meal is an array of items.

Usage

  • /menu - The current week's menu in JSON.

  • /menu2 - The next week's menu in JSON.

  • /uptime - Program uptime and requests served.

  • /about - About info text for Next Meal clients.

  • /broadcast - Any system messages for users to be notified about in plaintext. - Broadcasts may be specified in -broadcast command argument .

  • /leaderboard - P2P leaderboard.

  • See google-scripts branch for menu spreadsheet scripts.

  • Listens on port specified in $PORT environment variable.

  • Connects to Redis database (for P2P leaderboard data) URL specified in $REDIS_URL environment variable.

  • Written in Go!

About

USNA menu feed formatter written in Go for Google Spreadsheets

http://nextmeal.tk


Languages

Language:Go 100.0%