Comment on page

Latest Movies

Latest Movies

get
https://api.phantommovies.com/3/movies
/latest
Get Latest Movies
Curl
Node.js
curl -X GET "https://api.phantommovies.com/3/movies/movie/latest -H "Authorization: Bearer YourAPIKey"
const axios = require('axios');
axios.get('https://api.phantommovies.com/3/movies/latest?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 Latest Movies using our official library, node:
getLatestMovies()
API.getLatestMovies().then((res) => {
console.log(res);
});