package Ġcom . m adr at . kur so v aya . screens . get recip en utr ition widget by id Ċ Ċ import Ġcom . m adr at . kur so v aya . screens . get recip en utr ition widget by id . model . Get Recipe N utr ition Widget ById Response Ċ import Ġio . reactivex . rx java 3 . core . Observable Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Path Ċ import Ġretrofit 2 . http . Query Ċ Ċ // Ġhttps :// sp oon ac ular . com / food - api / docs # Get - Recipe - N utr ition - Widget - by - ID Ċ interface ĠGet Recipe N utr ition Widget ById Network Ġ{ ĊĠĠĠ Ġ@ GET (" recipes /{ id }/ nut r ition Widget . json ") ĊĠĠĠ Ġfun Ġget Recipe N utr ition Widget ById ( ĊĠĠĠĠĠĠĠ Ġ@ Path (" id ") Ġrecipe Id : ĠInt , ĊĠĠĠĠĠĠĠ Ġ@ Query (" apiKey ") ĠapiKey : ĠString ĊĠĠĠ Ġ): ĠObservable < Get Recipe N utr ition Widget ById Response > Ċ }