basic api functuinality added, still needs debugging
This commit is contained in:
9
backend/src/main/whattocook/repositories/ApiService.java
Normal file
9
backend/src/main/whattocook/repositories/ApiService.java
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user