Supermarketapi get function now working.