Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl --request GET \
--url https://api.themoviedb.org/3/company/2/images \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.themoviedb.org/3/company/2/images"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.themoviedb.org/3/company/2/images', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.themoviedb.org/3/company/2/images",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.themoviedb.org/3/company/2/images"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.themoviedb.org/3/company/2/images")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.themoviedb.org/3/company/2/images")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": 2,
"logos": [
{
"aspect_ratio": 3,
"file_path": "/wdrCwmRnLFJhEoH8GSfymY85KHT.png",
"file_type": ".svg",
"height": 28,
"id": "5aa16e1a0e0a2644d800ad9b",
"vote_average": 5.39,
"vote_count": 6,
"width": 84
},
{
"aspect_ratio": 0.8695652173913043,
"file_path": "/4MbjW4f9bu6LvlDmyIvfyuT3boj.png",
"file_type": ".svg",
"height": 575,
"id": "5aa16e1a92514160fc00ad77",
"vote_average": 5.252,
"vote_count": 4,
"width": 500
},
{
"aspect_ratio": 3.5938697318007664,
"file_path": "/t2PUBHDCsuTlsWsyqbaM4uvESDM.png",
"file_type": ".svg",
"height": 261,
"id": "64614bafa6725400e3d1f849",
"vote_average": 5.246,
"vote_count": 2,
"width": 938
},
{
"aspect_ratio": 0.7344173441734417,
"file_path": "/dP12C31aKgNPNE2NuHfpIsCPRud.png",
"file_type": ".png",
"height": 738,
"id": "64289a72a3e4ba0095f2e290",
"vote_average": 5.172,
"vote_count": 1,
"width": 542
},
{
"aspect_ratio": 3.215434083601286,
"file_path": "/oLnOQIYqC9kefk0tnGwlhurexoO.png",
"file_type": ".svg",
"height": 311,
"id": "64614bcd8c44b900e165a648",
"vote_average": 5.172,
"vote_count": 1,
"width": 1000
},
{
"aspect_ratio": 1.3010204081632653,
"file_path": "/wszlOmgJykJXULYfuusu3Kxala4.png",
"file_type": ".svg",
"height": 784,
"id": "5aa16e420e0a2644dd00b3ce",
"vote_average": 5.118,
"vote_count": 4,
"width": 1020
},
{
"aspect_ratio": 1.1367781155015195,
"file_path": "/cMn1GNxnxa1q0zStmnFX1jcQvZo.png",
"file_type": ".svg",
"height": 329,
"id": "5aa16e1a0e0a2644e100bbad",
"vote_average": 5.106,
"vote_count": 2,
"width": 374
}
]
}This endpoint is used to get the logos for a movie company.
curl --request GET \
--url https://api.themoviedb.org/3/company/2/images \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.themoviedb.org/3/company/2/images"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.themoviedb.org/3/company/2/images', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.themoviedb.org/3/company/2/images",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.themoviedb.org/3/company/2/images"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.themoviedb.org/3/company/2/images")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.themoviedb.org/3/company/2/images")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": 2,
"logos": [
{
"aspect_ratio": 3,
"file_path": "/wdrCwmRnLFJhEoH8GSfymY85KHT.png",
"file_type": ".svg",
"height": 28,
"id": "5aa16e1a0e0a2644d800ad9b",
"vote_average": 5.39,
"vote_count": 6,
"width": 84
},
{
"aspect_ratio": 0.8695652173913043,
"file_path": "/4MbjW4f9bu6LvlDmyIvfyuT3boj.png",
"file_type": ".svg",
"height": 575,
"id": "5aa16e1a92514160fc00ad77",
"vote_average": 5.252,
"vote_count": 4,
"width": 500
},
{
"aspect_ratio": 3.5938697318007664,
"file_path": "/t2PUBHDCsuTlsWsyqbaM4uvESDM.png",
"file_type": ".svg",
"height": 261,
"id": "64614bafa6725400e3d1f849",
"vote_average": 5.246,
"vote_count": 2,
"width": 938
},
{
"aspect_ratio": 0.7344173441734417,
"file_path": "/dP12C31aKgNPNE2NuHfpIsCPRud.png",
"file_type": ".png",
"height": 738,
"id": "64289a72a3e4ba0095f2e290",
"vote_average": 5.172,
"vote_count": 1,
"width": 542
},
{
"aspect_ratio": 3.215434083601286,
"file_path": "/oLnOQIYqC9kefk0tnGwlhurexoO.png",
"file_type": ".svg",
"height": 311,
"id": "64614bcd8c44b900e165a648",
"vote_average": 5.172,
"vote_count": 1,
"width": 1000
},
{
"aspect_ratio": 1.3010204081632653,
"file_path": "/wszlOmgJykJXULYfuusu3Kxala4.png",
"file_type": ".svg",
"height": 784,
"id": "5aa16e420e0a2644dd00b3ce",
"vote_average": 5.118,
"vote_count": 4,
"width": 1020
},
{
"aspect_ratio": 1.1367781155015195,
"file_path": "/cMn1GNxnxa1q0zStmnFX1jcQvZo.png",
"file_type": ".svg",
"height": 329,
"id": "5aa16e1a0e0a2644e100bbad",
"vote_average": 5.106,
"vote_count": 2,
"width": 374
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Get company logos
2
Show child attributes
[
{
"aspect_ratio": 3,
"file_path": "/wdrCwmRnLFJhEoH8GSfymY85KHT.png",
"file_type": ".svg",
"height": 28,
"id": "5aa16e1a0e0a2644d800ad9b",
"vote_average": 5.39,
"vote_count": 6,
"width": 84
},
{
"aspect_ratio": 0.8695652173913043,
"file_path": "/4MbjW4f9bu6LvlDmyIvfyuT3boj.png",
"file_type": ".svg",
"height": 575,
"id": "5aa16e1a92514160fc00ad77",
"vote_average": 5.252,
"vote_count": 4,
"width": 500
},
{
"aspect_ratio": 3.5938697318007664,
"file_path": "/t2PUBHDCsuTlsWsyqbaM4uvESDM.png",
"file_type": ".svg",
"height": 261,
"id": "64614bafa6725400e3d1f849",
"vote_average": 5.246,
"vote_count": 2,
"width": 938
},
{
"aspect_ratio": 0.7344173441734417,
"file_path": "/dP12C31aKgNPNE2NuHfpIsCPRud.png",
"file_type": ".png",
"height": 738,
"id": "64289a72a3e4ba0095f2e290",
"vote_average": 5.172,
"vote_count": 1,
"width": 542
},
{
"aspect_ratio": 3.215434083601286,
"file_path": "/oLnOQIYqC9kefk0tnGwlhurexoO.png",
"file_type": ".svg",
"height": 311,
"id": "64614bcd8c44b900e165a648",
"vote_average": 5.172,
"vote_count": 1,
"width": 1000
},
{
"aspect_ratio": 1.3010204081632653,
"file_path": "/wszlOmgJykJXULYfuusu3Kxala4.png",
"file_type": ".svg",
"height": 784,
"id": "5aa16e420e0a2644dd00b3ce",
"vote_average": 5.118,
"vote_count": 4,
"width": 1020
},
{
"aspect_ratio": 1.1367781155015195,
"file_path": "/cMn1GNxnxa1q0zStmnFX1jcQvZo.png",
"file_type": ".svg",
"height": 329,
"id": "5aa16e1a0e0a2644e100bbad",
"vote_average": 5.106,
"vote_count": 2,
"width": 374
}
]