I love the site and I use it daily! It is already miles above the official ucsc.edu menu. Thank you so much for making such a useful alternative.
I would absolutely love if there was a JSON api so that I could query ucsc.cc so that I could develop on top of your parsing without doing a cors pass through or hosting a duplicate instance. Obviously it would make sense to introduce rate limiting etc. to prevent spamming of your server.
I was thinking maybe a GraphQL API which has a structure like:
{
days: {
date: Timestamp,
colleges: {
college: string,
meals: {
meal: string,
menu: {
name: string,
allergens: string[]
}[]
}[]
}[]
}[]
}
Although really any api would be much appreciated.
I’m happy to code up/document the above GraphQL API and open a pull request if you’d like!
Thanks again for making it such a breeze to check the dining hall menus.
I love the site and I use it daily! It is already miles above the official ucsc.edu menu. Thank you so much for making such a useful alternative.
I would absolutely love if there was a JSON api so that I could query ucsc.cc so that I could develop on top of your parsing without doing a cors pass through or hosting a duplicate instance. Obviously it would make sense to introduce rate limiting etc. to prevent spamming of your server.
I was thinking maybe a GraphQL API which has a structure like:
Although really any api would be much appreciated.
I’m happy to code up/document the above GraphQL API and open a pull request if you’d like!
Thanks again for making it such a breeze to check the dining hall menus.