mirror of
https://github.com/LeRoid-hub/Mensa-API.git
synced 2025-01-31 11:44:55 +00:00
1.1 KiB
1.1 KiB
mensa-api / Exports
mensa-api
Table of contents
Functions
Functions
stripCampus
▸ stripCampus(html
): JSON
This function strips the html from the campus and Bundesland page and returns a JSON object
Parameters
Name | Type | Description |
---|---|---|
html |
string |
The html of the campus or Bundesland page |
Returns
JSON
JSON object
Example
stripCampus(html);
Defined in
stripMensa
▸ stripMensa(html
): string
This function strips the html from the mensa page and returns a JSON object
Parameters
Name | Type | Description |
---|---|---|
html |
string |
The html of the mensa page |
Returns
string
JSON object
Example
stripMensa(html);