Join Kirsten Hunter for an in-depth discussion in this video Subscriptions, part of Building APIs Using Hapi in Node.js.
- [Instructor] Now, what can we do in order…to provide the best possible data for our users…without exposing them to the performance…and reliability issues caused…when we need to make the API calls dynamically?…Fitbit provides a mechanism for subscribing…to updates so that you can go grab the data…as soon as its available.…This means you don't need to constantly query…the Fitbit API for information.…Let's walk through the setup and you can see some code…in the exercises demonstrating how this works.…To work with subscriptions,…you'll need to follow these steps.…
First, update the application on the Fitbit…developer portal using manage application.…Next, add a POST to the subscription endpoint…to start listing for updates.…Handle POSTs back to the application…from the subscription service…and then deploy the application to the Internet.…Now the first thing you're going to need to do…is manage the application within the developer portal…on Fitbit to tell it you want to subscribe to changes.…So open up your browser.…
- Setting up the development environment
- Consuming an API using HTTPie
- Inspecting Mongo data
- Updating the server for MongoDB read functionality
- Setting up application endpoints
- Implementing user endpoints, progress endpoints, and promises
Skill Level Intermediate
Building a Slack Bot with Node.js Microserviceswith Daniel Khan2h 9m Intermediate
Building a Website with Node.js and Express.jswith Ray Villalobos3h 16m Intermediate
1. API Fundamentals
2. Database Setup
3. Set Up the Fitbit API
4. Create the Progress API
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.