Giter Club home page Giter Club logo

tmdb-cli's Introduction

TMDB Client

forthebadge forthebadge

home

The movie database nodeJS client

Installation ๐ŸŽ‰

To install this module you must use NPM or Yarn

  $ [sudo] npm install tmdb-cli --global    # or Yarn

Why?

I've done this module because I spend a lot of time on terminal and sometimes is easier search movies in commandline instead of open a new browser tab and search on imdb or on tmdb.

How?

TMDB Client it's easy! You can just type tmdb <film name> and select the right one from the list!

search

Also you can do an advanced search with the flag --advanced

advanced

Options ๐ŸŽจ

You can personalize the result language with the flag --lang or use your own api-key with --key, by the way if you want restore default settings, obviously, you can do it easily with --restore!

you should be registered to get an api-key



helpMenu lang restore



Coded with love by #Rawnly

tmdb-cli's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

tmdb-cli's Issues

Node modules folder

Hey! This is a really cool project. I've wanted to do this for a while.

However, I noticed that you committed your node_modules folder. Is there a specific reason for this? It's usually included in the .gitignore file. Look at this.

UnhandledPromiseRejectionWarning

Nodejs version: v10.10.0
tmdb version: 0.2.0
OS: Centos 7

$ tmdb "Star Wars"
โœ– Loading the list
(node:122252) UnhandledPromiseRejectionWarning: SyntaxError: Unexpected token < in JSON at position 0
    at parse (<anonymous>)
    at got.then.response (/usr/lib/node_modules/tmdb-cli/index.js:219:16)
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:122252) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:122252) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

The crux of the problem is probably the response. I think the project would benefit by having another flag to debug the requests and responses to the api as well.

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.