arena api coding completed with sample web code