basic api functuinality added, still needs debugging

This commit is contained in:
Bruno
2022-06-17 13:05:00 +02:00
parent ebfd1b78e5
commit 5e86c05ca8
4 changed files with 114 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
package whattocook.repositories;
import whattocook.models.Item;
public interface ApiService {
String getForIngridients(Iterable<Item> items, int number) throws java.io.IOException, InterruptedException;
String getRandom(int number, java.util.List<String> tags) throws java.io.IOException, InterruptedException;
}