put apis in config file, finally got nyt api v2 working