Database Access
Credentials -
The downloaded file will contain one or more zipped CSV files that contain the Nutritionix restaurant, grocery, and/or common foods database, with a corresponding CSV of brands.
ETAG
Using the Amazon S3 Rest API’s Get Object endpoint, you can determine the ETAG of an S3 file without downloading the entire file. When your script downloads the Nutritionix zip file, it should store the ETAG in an easily referenceable data store.
Each subsequent time your automated script reaches out to get the S3 object, it should examine the headers of the file first to see if the ETAG has changed from the last time the file downloaded.