nus-cs2113-AY2324S2 / forum

2 stars 0 forks source link

Request for API usage #14

Open jing-xiang opened 7 months ago

jing-xiang commented 7 months ago

Library

Spoonacular: https://spoonacular.com/food-api

Purpose

Based on their input query, we intend to fetch the recipe list, ingredients, and other miscellaneous data to recommend to our users.

License

https://spoonacular.com/food-api/terms

okkhoy commented 7 months ago

Sorry, this API is not approved. Their terms doesn't allow pushing code containing the API to github.

jing-xiang commented 7 months ago

Sorry, this API is not approved. Their terms doesn't allow pushing code containing the API to github.

Hi prof, wouldn't the below suggest that it is allowed for projects, as long as it doesn't copy their whole platform?

Screenshot_20240216_010636_Chrome.jpg

Screenshot_20240215_191819_Chrome.jpg

Screenshot_20240216_012105_Chrome.jpg

okkhoy commented 7 months ago

Hmmm... I stand corrected about this:

Their terms doesn't allow pushing code containing the API to github.

It mentions you need to keep the API key confidential, not any code using the API (I misread it).

However, in the terms, it states the following: image

Which means your product will depend on the API. In case of a network outage or any other related issues, your app will be unusable/untestable.

So, unfortunately for you, I will still not allow you to use this API. Please find a replacement.

jing-xiang commented 7 months ago

Hmmm... I stand corrected about this:

Their terms doesn't allow pushing code containing the API to github.

It mentions you need to keep the API key confidential, not any code using the API (I misread it).

However, in the terms, it states the following: image

Which means your product will depend on the API. In case of a network outage or any other related issues, your app will be unusable/untestable.

So, unfortunately for you, I will still not allow you to use this API. Please find a replacement.

Thank you prof for getting back. I have found an alternative API as shown below.

Library Edamam: https://www.edamam.com/

Purpose Based on their input query, we intend to fetch the recipe list, ingredients, and other miscellaneous data to recommend to our users.

License https://www.edamam.com/terms/

okkhoy commented 7 months ago

Hmmm.. this also doesn't allow you to store local copy of the data obtained. So, has the same issue as the previous one.

jing-xiang commented 7 months ago

Hmmm.. this also doesn't allow you to store local copy of the data obtained. So, has the same issue as the previous one.

For this particular API, the free plan allows for some caching.

IMG_20240216_102959_800.jpg

okkhoy commented 7 months ago

Sorry, this means no: image