Skip to content

Whatsapp bot for get movies and tv series informations

Notifications You must be signed in to change notification settings

hirushaph/tvinfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎬 TVINFO Whatsapp Bot

WhatsApp Bot Node.js Version Baileys Version Tvinfo Version

This WhatsApp bot provides movies and tv series information to users


✨ Features

Feature Description
Movie Info Get details about a specific movie, including its cast, genres and more.
TV Series Info Retrieve information about TV series.
Posters Get movie and tv series posters.

🔎 Usage

Once the bot is running and configured with your WhatsApp account, you can interact with it using the following commands

Get movie details

.mv moviename .y year

  • .y is optional you can use this command without year

    Examples

    .mv avengers

    .mv jumanji .y 2017

Get tv series details

.tv moviename .y year

  • .y is optional you can use this command without year

    Examples

    .tv game of thrones

    .tv the boys .y 2019

Get posters

img

  • When you receive movie details using the above commands, you can send the img command as a reply to get posters

🚀 Installation

git clone https://github.com/hirushaph/tvinfo
cd tvinfo
yarn install

⚙ Configurations

  1. Rename .env.sample to .env and update following values

  2. Get TMDB Access token from here - TMDB token

  3. Get OMDB Api Key from here - OMDB key

    • OMDB Api Key is optional, this api use to get IMDb, Rotten Tomatoes Ratings
  4. Create Mongodb Atlas FREE Database instance and add database connection url to MONGODB_URL field. MongoDB Atlas FREE

  5. /**
     * .env
     * example env file
     * fill all this fields with correct values
    **/
    TMDB_ACCESS_TOKEN=
    OMDB_KEY=
    // Currently bot only support mongodb database
    MONGODB_URI=
  6. If needed, you can also change values in config.js to alter the bot's behavior.


🛠️ Built With

  • Baileys Whatsapp API

🍃 Contributing

Contributions are welcome! If you have any bug reports, or improvements, feel free to open an issue or create a pull request.

About

Whatsapp bot for get movies and tv series informations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published