After we have geocoded a location we can now use another API by Google to fetch the current time at this place.
- [Teacher] Now that we have the coordinates…of any given place at our fingertips,…we have to transform them into a local time.…For that, we will revisit the Time Zone API…we found before.…And, again, we have a demo request here,…down there,…and let's copy this out…and put it in here into our…service.js file to use it later.…The documentation tells us that…the location we have here…is a latitude/longitude tuple.…
This takes a bit,…and here is our new API key.…We will save this here again as well.…Now, let's install Moment.…It's simply done by npm,…
After explaining some basics about Node.js and microservices, Daniel shows you how to sketch out the planned architecture for your application and get the boilerplate code, modules, and credentials in place. Next, he shows how to create a bot user in Slack, connect to Slack, and post messages. He also shows you how to get your bot to process variations in text by creating logic that delegates the processing of intent to dedicated modules. Lastly, he shows how to register additional services and he covers how to use monitoring to identify architectural or performance issues.
- Using Slack APIs
- Sketching out a Slack bot architecture
- Setting up a project and choosing modules
- Creating and naming your bot
- Connecting to Slack
- Setting up and using natural language processing
- Routing by intents
- Implementing geocoding and time calculation
- Adding and monitoring services