@zhiguang-gastrofy/capi
Version:
comany apis, including Northfork api and Gastrofy api
16 lines (12 loc) • 336 B
text/typescript
import { HttpService } from './http.service';
export class GastrofyService {
_GFHttp:any;
constructor( config?:any ) {
this._GFHttp = new HttpService( { ...{
host: 'https://www.gastrofy.se/api',
}, ...config || {} } );
}
getRecipeMeta( ids:string ) {
return this._GFHttp.get( 'recipe/'+ids+'/meta' );
}
}