r/code • • Sep 03 '23

API Help

One of the biggest issues at my school is never knowing what's for lunch. To solve this I want to create an app that takes the menu data from Nutrislice. The only issue is that they don't give access to their API. Is there another way to get the information?

2 Upvotes

8 comments sorted by

View all comments

Show parent comment

2

u/Gullible_Elk4543 Sep 03 '23

That's exactly how I would do it. If you can access the menu information in some html page you can scrap the Web page. I normally use python for that with a library called requests I make HTTP Get requests to fetch the html code and then use BeautifulSoup extract data from the html.

1

u/jada_probst Sep 04 '23

Thank you!