GithubHelp home page GithubHelp logo

Find method doesn't work about tmdbsimple HOT 1 CLOSED

celiao avatar celiao commented on July 27, 2024
Find method doesn't work

from tmdbsimple.

Comments (1)

celiao avatar celiao commented on July 27, 2024 1

I believe the find command works fine. Here's an example.

import tmdbsimple as tmdb
tmdb.API_KEY = 'YOUR API KEY HERE'
find = tmdb.Find('tt0266543')
response = find.info(external_source='imdb_id')
response
    {'movie_results': [{'adult': False,
       'backdrop_path': '/n2vIGWw4ezslXjlP0VNxkp9wqwU.jpg',
       'genre_ids': [16, 10751],
       'id': 12,
       'original_language': 'en',
       'original_title': 'Finding Nemo',
       'overview': "Nemo, an adventurous young clownfish, is unexpectedly taken from his Great Barrier Reef home to a dentist's office aquarium. It's up to his worrisome father Marlin and a friendly but forgetful fish Dory to bring Nemo home -- meeting vegetarian sharks, surfer dude turtles, hypnotic jellyfish, hungry seagulls, and more along the way.",
       'popularity': 7.128663,
       'poster_path': '/syPWyeeqzTQIxjIUaIFI7d0TyEY.jpg',
       'release_date': '2003-05-30',
       'title': 'Finding Nemo',
       'video': False,
       'vote_average': 7.6,
       'vote_count': 5001}],
     'person_results': [],
     'tv_episode_results': [],
     'tv_results': [],
     'tv_season_results': []
    }

Check out the tests/ directory for example usage of other commands.

from tmdbsimple.

Related Issues (20)

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.