Giter Site home page Giter Site logo

imdb-bash's Introduction

imdb-bash

Introduction

This is a powerful command-line tool that allows you to fetch detailed information about movies from IMDb (Internet Movie Database). With this script, you can quickly access movie details such as title, release year, plot summary, cast, ratings, and more, directly from the IMDb database.

Prerequisites

Before using the script, ensure that the following dependencies are installed on your system:

  • Bash (Bourne Again SHell)
  • cURL (Client for URLs)
  • jq (Command-line JSON processor)

Getting Started

Clone this repository to your local machine:

git clone https://github.com/Njoguu/imdb-bash.git

Change into the project directory:

cd imdb-movie-information-fetcher

Make the imdb-ghw.sh script executable:

chmod +x imdb-ghw.sh

Usage:

Run the script by providing the movie title as an argument:

./imdb-ghw.sh "Movie Title"

Replace "Movie Title" with the title of the movie you want to fetch information about. If the title contains spaces, make sure to enclose it in double quotes.

Example

./imdb-ghw.sh "Teen Wolf"

Output

The script will display detailed information about the movie, including:

  • Title
  • Year of release
  • Runtime
  • Genre
  • Plot summary

API Key

To use the script correctly you need an API KEY from Open Movie Database. Include it in the imdb-ghw.sh script:

IMDB_API_KEY="your_api_key_here"

Replace "your_api_key_here" with your actual OMDb API API key. Please follow the terms of use while using the script.

imdb-bash's People

Contributors

njoguu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.