This is a LIRI-Bot (Language Interpretation and Recognition Interface). It was made in order to simplify the search for movie, artist, and song data. It is a quick way to get the exact information a user seeks, no more, no less. There is also a log.txt file which the program can write commands to.
LIRI-Bot is organized into five modules and two text files. Each module has a specific function and is linked to the main file through the use of require and export statements.
Three modules are for interfacing with the Bands in Town, Spotify, and OMDB APIs (Application Programming Interface) in order to pull queried data from their databases.
The other two are the File-System module and the Keys module. These are referenced in order to read and write to each text file(stream data to and from) and to save and keep API keys respectively.
The app is used by downloading the files onto the user's PC. Node.js is required in order for it's use, which can be downloaded here.
Once the user has both of these, they need to enter their command prompt inside the directory (LIRI-Bot folder) where LIRI is saved. The user can then find information by entering commands in the form of:
Node Reference | LIRI Reference | Command | Query |
---|---|---|---|
node.js | liri.js | concert-this | Artist Name |
node.js | liri.js | omdb-this | Movie Title |
node.js | liri.js | spotify-this-song | "Song Title" |
node.js | liri.js | call-from-file | null |
Technologies used were Node.js, Git Bash Terminal, as well as Axios, DotEnv, File-System, Moment, and Node-Spotify-Api NPM Node modules.
#### Versions
"axios": "^0.19.0",
"dotenv": "^8.2.0",
"file-system": "^2.2.2",
"moment": "^2.24.0",
"node-spotify-api": "^1.1.1"