Need help to get data from api using http

  1. How to make an API call
  2. How to store the data as an object
  3. How to store the data in the database
  4. How to update the data periodically, say 1 minute.
  5. How to display data in HTML.

For example, taking the data from Bitstamp api and displaying it in html

  1. HTTP.get - http://docs.meteor.com/#/full/http_get
  2. JSON.parse() or similar to parse/interpret result from API call
  3. Collection.insert() - http://docs.meteor.com/#/full/insert
  4. Use a sensible interval manager, personal favourite is percolate:synced-cron - http://fastosphere.meteor.com/percolate%3Asynced-cron?q=synced
  5. See Meteor samples/guide - http://guide.meteor.com/

Can you please make an example code… I’m not very good at writing programs, I would like to look at the code and analyze it.
Thanks in advance