package Ġcom . fro go box . nut r ition core . method . interfaces Ċ Ċ import Ġcom . fro go box . nut r ition core . sources . N ut ri Response Ċ import Ġcom . fro go box . nut r ition core . model . meal .* ĊĊ Ċ /** Ċ Ġ* ĠCreated Ġby ĠF ais al ĠA mir Ċ Ġ* ĠF ro go Box ĠInc ĠLicense Ċ Ġ* Ġ================================= ======== Ċ Ġ* Ġconsum able - code - the - meal - db - api Ċ Ġ* ĠCopyright Ġ( C ) Ġ 1 5 / 0 3 / 2 0 2 0 . Ċ Ġ* ĠAll Ġrights Ġreserved Ċ Ġ* Ġ-------------------------------- --------- Ċ Ġ* ĠName ĠĠĠĠ Ġ: ĠMu ham mad ĠF ais al ĠA mir Ċ Ġ* ĠE - mail ĠĠ Ġ: Ġfa is alam ir cs @ gmail . com Ċ Ġ* ĠGithub ĠĠ Ġ: Ġgithub . com / am iris back Ċ Ġ* ĠLinked In Ġ: Ġlinked in . com / in / fa is alam ir cs Ċ Ġ* Ġ-------------------------------- --------- Ċ Ġ* ĠF ro go Box ĠSoftware ĠInd ust ries Ċ Ġ* Ġcom . fro go box . f rog ome als api Ċ Ġ* Ċ Ġ*/ Ċ interface ĠI Consume The Me al Db Api Ġ{ ĊĊĠĠĠ Ġ// ĠSearch Ġme al Ġby Ġname ĊĠĠĠ Ġfun Ġsearch Me al ( meal Name : ĠString , Ġcallback : ĠN ut ri Response . Data Response < Me al Response < Me al >>) ĊĊĠĠĠ Ġ// ĠList Ġall Ġme als Ġby Ġfirst Ġletter ĊĠĠĠ Ġfun Ġlist All Me al ( first Letter : ĠString , Ġcallback : ĠN ut ri Response . Data Response < Me al Response < Me al >>) ĊĊĠĠĠ Ġ// ĠLookup Ġfull Ġme al Ġdetails Ġby Ġid ĊĠĠĠ Ġfun Ġlookup Full Me al ( id Me al : ĠString , Ġcallback : ĠN ut ri Response . Data Response < Me al Response < Me al >>) ĊĊĠĠĠ Ġ// ĠLookup Ġa Ġsingle Ġrandom Ġme al ĊĠĠĠ Ġfun Ġlookup Random Me al ( callback : ĠN ut ri Response . Data Response < Me al Response < Me al >>) ĊĊĠĠĠ Ġ// ĠList Ġall Ġme al Ġcategories ĊĠĠĠ Ġfun Ġlist Me al Categories ( callback : ĠN ut ri Response . Data Response < Category Response >) ĊĊĠĠĠ Ġ// ĠList Ġall ĠCategories ĊĠĠĠ Ġfun Ġlist All C ate ories ( callback : ĠN ut ri Response . Data Response < Me al Response < Category >>) ĊĊĠĠĠ Ġ// ĠList Ġall ĠArea ĊĠĠĠ Ġfun Ġlist All Area ( callback : ĠN ut ri Response . Data Response < Me al Response < Area >>) ĊĊĠĠĠ Ġ// ĠList Ġall ĠIng redients ĊĠĠĠ Ġfun Ġlist All Ing redients ( callback : ĠN ut ri Response . Data Response < Me al Response < Ingredient >>) ĊĊĠĠĠ Ġ// ĠFilter Ġby Ġmain Ġingredient ĊĠĠĠ Ġfun Ġfilter By Ingredient ( ingredient : ĠString , Ġcallback : ĠN ut ri Response . Data Response < Me al Response < Me al Filter >>) ĊĊĠĠĠ Ġ// ĠFilter Ġby ĠCategory ĊĠĠĠ Ġfun Ġfilter By Category ( category : ĠString , Ġcallback : ĠN ut ri Response . Data Response < Me al Response < Me al Filter >>) ĊĊĠĠĠ Ġ// ĠFilter Ġby ĠArea ĊĠĠĠ Ġfun Ġfilter By Area ( area : ĠString , Ġcallback : ĠN ut ri Response . Data Response < Me al Response < Me al Filter >>) ĊĊĠĠĠ Ġ// ĠPlease ĠAdd ĠYour ĠCode ĠUnder ĠThis ĠLine Ġ-------------------------------------------------------- Ċ Ċ }