package Ġcom . example . android . photo app kotlin . api Ċ Ċ import Ġcom . example . android . photo app kotlin . models . Photo List Ċ import Ġretrofit 2 . Call Ċ import Ġretrofit 2 . http . GET Ċ Ċ interface ĠPhoto API Ġ{ ĊĊĠĠĠ Ġ// https :// pix ab ay . com / api /? key = 5 2 4 1 5 4 2 - 2 8 9 7 7 1 7 6 fb cc 7 6 3 6 f 0 d 8 a 9 6 5 5 & q = android & image _ type = photo ĊĠĠĠ Ġ@ GET (" ? key = 5 2 4 1 5 4 2 - 2 8 9 7 7 1 7 6 fb cc 7 6 3 6 f 0 d 8 a 9 6 5 5 & q = android & image _ type = photo ") ĊĠĠĠ Ġfun Ġget Photos () Ġ: ĠCall < Photo List > Ċ }