Comment on page

Top Rated Movies

Top Rated Movies

get
https://api.phantommovies.com/3/movies
/top_rated
Get Top Rated Movies
First Tab
Node.js
curl -X GET "https://api.phantommovies.com/3/movies/movie/top_rated-H "Authorization: Bearer YourAPIKey"
const axios = require('axios');
axios.get('https://api.phantommovies.com/3/movies/top_rated?accessToken=YourAPIKey')
.then(response => {
// Handle the response data
const movies = response.data;
console.log('Movies:', movies);
})
.catch(error => {
// Handle the error
console.error('Error:', error.message);
});

SDK Usage

Get Top Rated Movies using our official library, node:
getTopRatedMovies()
API.getLatestMovies().then((res) => {
console.log(res);
});