Fetch Api Data Using Use Effect Syntax Python For Loop