10 lines
260 B
JavaScript
10 lines
260 B
JavaScript
export class PuckoPruttApi {
|
|
constructor() {
|
|
this.apiUrl = "api.puckoprutt.tech"
|
|
this.schema = this.apiUrl + "/schema"
|
|
}
|
|
|
|
dagens_lunch(spider) {
|
|
return fetch(this.apiUrl + "/dagens_lunch/" + spider, {method: "GET"});
|
|
}
|
|
} |