new york times api created in advanced scripting class.