title: Saving API data to JSON file with NodeJS (or PHP)
body: <p>Is there a way to save data from an API to a JSON file, with NodeJS using XMLHttpRequest? </p>
  
  <p>The API data is supposed to be displayed on a website, but the API is increcibly slow, so to combat this I would save the data on the server and display the newest data on the website every 5 minutes.</p>
  
  <p>The API is public, the link is <a href="http://lonobox.com/api/index.php?id=100002519" rel="nofollow noreferrer">http://lonobox.com/api/index.php?id=100002519</a> if that helps.</p>
  
  <p>Any help is greatly appreciated.</p>