Fetch Api Data Using Use Effect Syntax Python Print To File