finished api calls for nyt and geolocation, writes to dots.json