basic api functuinality added, still needs debugging

This commit is contained in:
Bruno
2022-06-17 16:23:04 +02:00
parent 1f8922788c
commit 724e765cd6
3 changed files with 26 additions and 10 deletions

View File

@@ -5,5 +5,5 @@ 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;
String getRandom(java.util.List<String> tags, int number) throws java.io.IOException, InterruptedException;
}