Socket
Socket
Sign inDemoInstall

github.com/penguingovernor/bananas

Package Overview
Dependencies
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/penguingovernor/bananas

Package bananas is a Go library for interfacing with the dining hall menus at the University of California Santa Cruz At UCSC there are five (5) dining halls. One for each pair of colleges in the ten college system. Each dining hall has it's own menu that can be viewed online here: https://nutrition.sa.ucsc.edu Many students have built third party menu viewers -- each with their own method of parsing the website (manual web scraping is necessary as there is no public API). And this is where bananas comes in. Bananas will serve as the engine for a new API server that is in development, so that students can build custom web views, apps etc. . Bananas will also be available for everyone, so that they too can build awesome stuff with it. To use bananas simply call MenuFor with one item from each of the following lists: Dining Halls (Choose one (1)): Meals (Choose one (1)): Time: Any struct that is time.Time will satisfy this parameter. Note that the actual time (e.g 12:00PM) is ignored and only the date is used. Here are some common uses for bananas. Note that each of these calls will make two (2) http requests. One for the menu data, and another to set the cookies. If you would like to only have one http request per call use bananas.Client


Version published

Readme

Source

Bananas

GoDoc Go Report Card

Bananas is a Go library for interfacing with the dining hall menus at the University of California Santa Cruz

Usage

See the godoc linked above.

FAQs

Last updated on 11 Sep 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc