how to access object in api in javascript code example Example: javascript object let names = { name1: 'What ever you want to put' }