save api data as json string in sql database, update if view is called an data is more than one minute old