package Ġcom . s amar th . crypto z ee . data . api Ċ Ċ import Ġcom . s amar th . crypto z ee . data . model . api . single Coin Response . Single Coin Chart Response Ċ import Ġcom . s amar th . crypto z ee . utils . CONSTANT S . Companion . SINGLE _ CO IN _ CH ART _ SUFFIX Ċ import Ġcom . s amar th . crypto z ee . utils . CONSTANT S . Companion . SINGLE _ CO IN _ URL _ DETAIL _ PREFIX Ċ Ċ object ĠAll Chart ApiRequest Ġ{ ĊĠĠĠ Ġsuspend Ġfun ĠgetAll Coin Chart ( coin Id : ĠString ): ĠArrayList < Single Coin Chart Response > Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġresponse Ġ= ĠArrayList < Single Coin Chart Response >( 0 ) ĊĠĠĠĠĠĠĠ Ġval Ġretrofit Instance Ġ= ĠRet rofit Instance . response All Api ĊĠĠĠĠĠĠĠ Ġval Ġone Day Data Ġ= Ġretrofit Instance . get Single Coin Market Chart ( ĊĠĠĠĠĠĠĠĠĠĠĠ ĠS INGLE _ CO IN _ URL _ DETAIL _ PREFIX Ġ+ Ġcoin Id Ġ+ ĠS INGLE _ CO IN _ CH ART _ SUFFIX Ġ+ Ġ" 1 " ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġval Ġone Week Data Ġ= Ġretrofit Instance . get Single Coin Market Chart ( ĊĠĠĠĠĠĠĠĠĠĠĠ ĠS INGLE _ CO IN _ URL _ DETAIL _ PREFIX Ġ+ Ġcoin Id Ġ+ ĠS INGLE _ CO IN _ CH ART _ SUFFIX Ġ+ Ġ" 7 " ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġval Ġone Month Data Ġ= Ġretrofit Instance . get Single Coin Market Chart ( ĊĠĠĠĠĠĠĠĠĠĠĠ ĠS INGLE _ CO IN _ URL _ DETAIL _ PREFIX Ġ+ Ġcoin Id Ġ+ ĠS INGLE _ CO IN _ CH ART _ SUFFIX Ġ+ Ġ" 3 0 " ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġval Ġone Day Year Ġ= Ġretrofit Instance . get Single Coin Market Chart ( ĊĠĠĠĠĠĠĠĠĠĠĠ ĠS INGLE _ CO IN _ URL _ DETAIL _ PREFIX Ġ+ Ġcoin Id Ġ+ ĠS INGLE _ CO IN _ CH ART _ SUFFIX Ġ+ Ġ" 3 6 5 " ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġval Ġmax Data Ġ= Ġretrofit Instance . get Single Coin Market Chart ( ĊĠĠĠĠĠĠĠĠĠĠĠ ĠS INGLE _ CO IN _ URL _ DETAIL _ PREFIX Ġ+ Ġcoin Id Ġ+ ĠS INGLE _ CO IN _ CH ART _ SUFFIX Ġ+ Ġ" max " ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġresponse . addAll ( array ListOf ( one Day Data , Ġone Week Data , Ġone Month Data , one Day Year , Ġmax Data )) ĊĠĠĠĠĠĠĠ Ġreturn Ġresponse ĊĠĠĠ Ġ} Ċ }