Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

SAP-archive/skills

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

skills

This is the backend for two different skills you can add to your bot on SAP Conversational AI.

To start the API after cloning the project:

npm install
npm start

Since this API relies on external services, you can setup your tokens for Open Weather Map and The Movie Database either in ./config.js or as environment variables : OPENWEATHER_TOKEN and MOVIEDB_TOKEN.

You can also change the port of the API in ./config.js (it listens on port 5000 by default)

Then you need to go to the settings of your bot on SAP Conversational AI and change the field Bot base URL to the URL of your server.

Ngrok could come in handy if you just want to try out the API without having to host this code on a public server :)

Requirements

Node version

v6.0 or higher required

About

Code for the ⛅ weather and 🎥 movies skills

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •