A standardized way to access ASPC features. Currently there is only an API for the Menu.
Your authentication token will be shown to you when you login and go to https://aspc.pomona.edu/api/
.
Please use this authentication token to access all the endpoints below. You are limited to 1000 requests per day. Please contact [email protected] if you wish to raise the limit.
curl -H "Authorization: Token 83056d12c23f007d1d2ad7d2713b776d4644c21c" https://aspc.pomona.edu/api/menu/
[
{
"day": "fri",
"dining_hall": "cmc",
"food_items": "[\"Breakfast Selections\", \"Scrambled Eggs\\nCheese & Bacon Eggs\\nTurkey Bacon & Sausage Patties\\nChorizo & Cheese Quesadilla\", \"Oatmeal & Grits\\nWaffles\\nHash Browns \\nCranberry & Apple Cinnamon Muffins\", \"Make Your Own Waffle Station\"]",
"id": 11,
"meal": "breakfast"
},
{
"day": "fri",
"dining_hall": "cmc",
"food_items": "[\"Chocolate Chip Cookies\\nCinnamon Roll Cheesecake Cookies\\nPina Colada Bar\\nLemon Blueberry Pound Cake\", \"Red Velvet Cake\\nVegan Banana Cream Pie\\nMade Without Gluten Rochers\"]",
"id": 13,
"meal": "dessert"
}, ...
]
Lists all menus
+ Headers
Authorization: Token 83456d12c23f007d1d2ad7d2713b776d4644c21c
[
{
"day": "fri",
"dining_hall": "cmc",
"food_items": "[\"Breakfast Selections\", \"Scrambled Eggs\\nCheese & Bacon Eggs\\nTurkey Bacon & Sausage Patties\\nChorizo & Cheese Quesadilla\", \"Oatmeal & Grits\\nWaffles\\nHash Browns \\nCranberry & Apple Cinnamon Muffins\", \"Make Your Own Waffle Station\"]",
"id": 11,
"meal": "breakfast"
},
{
"day": "fri",
"dining_hall": "cmc",
"food_items": "[\"Chocolate Chip Cookies\\nCinnamon Roll Cheesecake Cookies\\nPina Colada Bar\\nLemon Blueberry Pound Cake\", \"Red Velvet Cake\\nVegan Banana Cream Pie\\nMade Without Gluten Rochers\"]",
"id": 13,
"meal": "dessert"
}, ...
]
Lists all menus by a specific dining hall
-
dining_hall (enum[string])
Name of the dining hall
- Members
- frary
- frank
- cmc
- mudd
- scripps
- oldenborg
- Members
+ Headers
Authorization: Token 83456d12c23f007d1d2ad7d2713b776d4644c21c
[
{
"day": "fri",
"dining_hall": "cmc",
"food_items": "[\"Breakfast Selections\", \"Scrambled Eggs\\nCheese & Bacon Eggs\\nTurkey Bacon & Sausage Patties\\nChorizo & Cheese Quesadilla\", \"Oatmeal & Grits\\nWaffles\\nHash Browns \\nCranberry & Apple Cinnamon Muffins\", \"Make Your Own Waffle Station\"]",
"id": 11,
"meal": "breakfast"
},
{
"day": "fri",
"dining_hall": "cmc",
"food_items": "[\"Chocolate Chip Cookies\\nCinnamon Roll Cheesecake Cookies\\nPina Colada Bar\\nLemon Blueberry Pound Cake\", \"Red Velvet Cake\\nVegan Banana Cream Pie\\nMade Without Gluten Rochers\"]",
"id": 13,
"meal": "dessert"
}, ...
]
Lists all menus by a specific day of the week
-
day (enum[string])
Name of the day of the week
- Members
- mon
- tue
- wed
- thu
- fri
- sat
- sun
- Members
+ Headers
Authorization: Token 83456d12c23f007d1d2ad7d2713b776d4644c21c
[
{
"day": "fri",
"dining_hall": "cmc",
"food_items": "[\"Breakfast Selections\", \"Scrambled Eggs\\nCheese & Bacon Eggs\\nTurkey Bacon & Sausage Patties\\nChorizo & Cheese Quesadilla\", \"Oatmeal & Grits\\nWaffles\\nHash Browns \\nCranberry & Apple Cinnamon Muffins\", \"Make Your Own Waffle Station\"]",
"id": 11,
"meal": "breakfast"
},
{
"day": "fri",
"dining_hall": "cmc",
"food_items": "[\"Chocolate Chip Cookies\\nCinnamon Roll Cheesecake Cookies\\nPina Colada Bar\\nLemon Blueberry Pound Cake\", \"Red Velvet Cake\\nVegan Banana Cream Pie\\nMade Without Gluten Rochers\"]",
"id": 13,
"meal": "dessert"
}, ...
]
Lists all menus by dining hall and a specific day of the week
-
dining_hall (enum[string])
Name of the dining hall
- Members
- frary
- frank
- cmc
- mudd
- scripps
- oldenborg
- Members
-
day (enum[string])
Name of the day of the week
- Members
- mon
- tue
- wed
- thu
- fri
- sat
- sun
- Members
+ Headers
Authorization: Token 83456d12c23f007d1d2ad7d2713b776d4644c21c
[
{
"day": "fri",
"dining_hall": "cmc",
"food_items": "[\"Breakfast Selections\", \"Scrambled Eggs\\nCheese & Bacon Eggs\\nTurkey Bacon & Sausage Patties\\nChorizo & Cheese Quesadilla\", \"Oatmeal & Grits\\nWaffles\\nHash Browns \\nCranberry & Apple Cinnamon Muffins\", \"Make Your Own Waffle Station\"]",
"id": 11,
"meal": "breakfast"
},
{
"day": "fri",
"dining_hall": "cmc",
"food_items": "[\"Chocolate Chip Cookies\\nCinnamon Roll Cheesecake Cookies\\nPina Colada Bar\\nLemon Blueberry Pound Cake\", \"Red Velvet Cake\\nVegan Banana Cream Pie\\nMade Without Gluten Rochers\"]",
"id": 13,
"meal": "dessert"
}, ...
]
Find a menu with a specific dining hall, specific day of the week, and meal
-
meal (enum[string])
Name of the dining hall
- Members
- breakfast
- lunch
- dinner
- Members
-
dining_hall (enum[string])
Name of the dining hall
- Members
- frary
- frank
- cmc
- mudd
- scripps
- oldenborg
- Members
-
day (enum[string])
Name of the day of the week
- Members
- mon
- tue
- wed
- thu
- fri
- sat
- sun
- Members
+ Headers
Authorization: Token 83456d12c23f007d1d2ad7d2713b776d4644c21c
{
"day": "fri",
"dining_hall": "cmc",
"food_items": "[\"Breakfast Selections\", \"Scrambled Eggs\\nCheese & Bacon Eggs\\nTurkey Bacon & Sausage Patties\\nChorizo & Cheese Quesadilla\", \"Oatmeal & Grits\\nWaffles\\nHash Browns \\nCranberry & Apple Cinnamon Muffins\", \"Make Your Own Waffle Station\"]",
"id": 11,
"meal": "breakfast"
}