Comments (7)
@pixelead0 Issue could be closed, because of the mentioned PR
from tmdb_v3-php-api-.
After #49 is accepted you can get the crew and cast picture the way it is described in the infoPerson.php Exmaple file.
By now you can access the crew and cast data from a movie with my comment in:
#48
When you iterating over the crew or the cast data you can access the picture by accessing the correct array key. For example:
`
$castArray = $movie->get('credits')['cast'];
foreach($castArray as $castData){
$picturePath = $castData['profile_path'];
}
`
from tmdb_v3-php-api-.
I think you should wait for the Pull Request. Then it would be all clear.
This code sample i described is only a current workaround for accessing the data you want. After the PR it will be more easy to access the data.
from tmdb_v3-php-api-.
Thanks For replay
create a example file please
from tmdb_v3-php-api-.
Thanks
I Do it
but u make the all fix in example files for new users
from tmdb_v3-php-api-.
Sorry i do not understand what you want :-(
from tmdb_v3-php-api-.
$movie->get('credits')['cast']
$movie->get('credits')['crew']
$castArray = $movie->get('credits')['cast'];
foreach($castArray as $castData){
$picturePath = $castData['profile_path'];
}
the all classes files
from tmdb_v3-php-api-.
Related Issues (20)
- How to get Movie/TV/Person search page ? HOT 2
- No ../tmdb-api.php file included, on this code HOT 1
- Errer Showing HOT 16
- List of film genres HOT 11
- Empty youtube video problem HOT 5
- how to show movie certification HOT 3
- setAPIKey not working
- Trailer in TV Show HOT 3
- Num of episodes in seasons loop HOT 3
- episodes images not working HOT 1
- I cant get the backdrop HOT 1
- getImageURL not working
- Get Production (Aired) Year for TV Show
- How do I get the [character] each actor played in the movie??
- Auto suggest in search
- A missed quote in README.markdown
- imdb tv id get data not working
- this genre data
- Error Handler
- please insert RatedMovies
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tmdb_v3-php-api-.