nytimes and guardian api set up