/omdb-bot

Finds infos from IMDB via OMDB API.

Primary LanguageJavaScriptOtherNOASSERTION

omdb-bot

Finds infos from IMDB via OMDB API.

Prerequisites

  1. git and node must be installed.
  2. Download a REST tool such as Paw (Macintosh only) or Postman (all major platforms).
  3. Register for an API key at OMDB API.

Install

$ git clone https://github.com/kreig303/omdb-bot.git
$ cd omdb-bot
$ npm it

Then, create a .env file at the root of the app directory and include your api key in the following format:

API_KEY=your-api-key

Usage

Run

$ npm start

Queries (for REST tool)

  1. http://localhost:3030/api/movie/[title of film] (gets movie info)
  2. http://localhost:3030/api/poster/[title of film] (gets movie poster)

Testing movie poster in CLI

No browser? no problems. Use cURL and img2text (available on npm):

curl http://localhost:3030/api/poster/nemo --output - > file.png && img2txt file.png

History

Discover the release history by heading on over to the releases page.

Contribute

Discover how you can contribute by heading on over to the CONTRIBUTING.md file.

Backers

Maintainers

These amazing people are maintaining this project:

Sponsors

No sponsors yet! Will you be the first?

Contributors

These amazing people have contributed code to this project:

Discover how you can contribute by heading on over to the CONTRIBUTING.md file.

License

Unless stated otherwise all works are:

and licensed under: