Shopee interview question

Write some code that does string manipulation of data returned from an API endpoint