The Movie Database Support

Hi,

I am trying to integrate the API to this website Ł…Ų§ŁŠ Ų³ŁŠŁ…Ų§ which is my costumer

but at production_companies I need to a logic to know the response . but some time one dot make the whole code broke .

it will be much easier for me if I knew the production_companies so I compare them with my API

Regards

7 replies (on page 1 of 1)

Jump to last post

@salona said:
What is all possible values from [production_companies]
Hi,
I am trying to integrate the API to this website Ł…Ų§ŁŠ Ų³ŁŠŁ…Ų§ which is my costumer
but at production_companies I need to a logic to know the response . but some time one dot make the whole code broke .
it will be much easier for me if I knew the production_companies so I compare them with my API
Regards

If I understand your problem correctly ...
In this link you will find instructions for downloading a file with valid IDs for all Production Companies.
https://developer.themoviedb.org/docs/daily-id-exports
ATTENTION: Use the correct date format. MM_DD_YYYY

@ticao2 said:

@salona said:
What is all possible values from [production_companies]
Hi,
I am trying to integrate the API to this website Ł…Ų§ŁŠ Ų³ŁŠŁ…Ų§ which is my costumer
but at production_companies I need to a logic to know the response . but some time one dot make the whole code broke .
it will be much easier for me if I knew the production_companies so I compare them with my API
Regards

If I understand your problem correctly ...
In this link you will find instructions for downloading a file with valid IDs for all Production Companies.
https://developer.themoviedb.org/docs/daily-id-exports
ATTENTION: Use the correct date format. MM_DD_YYYY

Thanks for your response my friend . I am sorry if I could not explain clearly .

What I mean is that for example this response :

[poster_path] => /8MfgyFHf7XEboZJPZXCIDqqiz6e.jpg
[production_companies] => Array
    (
        [0] => Array
            (
                [id] => 1957
                [logo_path] => /pJJw98MtNFC9cHn3o15G7vaUnnX.png
                [name] => Warner Bros. Television
                [origin_country] => US
            )

        [1] => Array
            (
                [id] => 2596
                [logo_path] => 
                [name] => Jerry Weintraub Productions
                [origin_country] => US
            )

        [2] => Array
            (
                [id] => 11461
                [logo_path] => /p9FoEt5shEKRWRKVIlvFaEmRnun.png
                [name] => Bad Robot
                [origin_country] => US
            )

        [3] => Array
            (
                [id] => 103490
                [logo_path] => /xnDEtomiDZ8aLOhokbeSqh8HI99.png
                [name] => Kilter Films
                [origin_country] => US
            )

    )

As we see there 4 companies , So how many companies exist ? what all values we can get at this Array. Because I use at my PHP script function to check is string contains for example Netflix then I will so some tasks

Hope I could able cleared the task

So what I am asking please

[networks] => Array
    (
        [0] => Array
            (
                [id] => 49
                [logo_path] => /tuomPhY2UtuPTqqFnKMVHvSb724.png
                [name] => HBO
                [origin_country] => US
            )

    )

I need all companies name with their ID at API response . example : HBO ==> 49

and so on for the all values can be set as production company

Sorry, my native language is not English.

@salona said:
As we see there 4 companies ,

Yes, for Westworld these are the 4 "production_companies".
https://www.themoviedb.org/tv/63247-westworld/edit?active_nav_item=production_information

So how many companies exist ? what all values we can get at this Array.

A single TV Show can have multiple "production_companies".
In your example, they are numbered 0, 1, 2 and 3.

@salona said:

So what I am asking please

[networks] => Array
    (
        [0] => Array
            (
                [id] => 49
                [logo_path] => /tuomPhY2UtuPTqqFnKMVHvSb724.png
                [name] => HBO
                [origin_country] => US
            )

    )

I need all companies name with their ID at API response . example : HBO ==> 49

and so on for the all values can be set as production company

Here we are talking about Networks.
Normally only one for each TV Show.
But there are cases where the TV Show changes Network.
Seasons 1 and 2 on one Network
And seasons 3, 4 and 5 on another Network.

But both, the production company response and the network response, always include the name and ID of each one.

@ticao2 said:

@salona said:

So what I am asking please

[networks] => Array
    (
        [0] => Array
            (
                [id] => 49
                [logo_path] => /tuomPhY2UtuPTqqFnKMVHvSb724.png
                [name] => HBO
                [origin_country] => US
            )

    )

I need all companies name with their ID at API response . example : HBO ==> 49

and so on for the all values can be set as production company

Here we are talking about Networks.
Normally only one for each TV Show.
But there are cases where the TV Show changes Network.
Seasons 1 and 2 on one Network
And seasons 3, 4 and 5 on another Network.

But both, the production company response and the network response, always include the name and ID of each one.

It is clear now . Thank you so much for the information my friend

In the case of HBO, sometimes it is network and sometimes it is production company.
I believe with different IDs.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login