Releases: duck7000/imdbGraphQLPHP
Releases · duck7000/imdbGraphQLPHP
Bug fixes and new methods
- Title and Name class added savephoto() and photoLocalurl() Thanks @jcvignoli
- TitleSearch and NameSearch class added object to the output array this is a Title or Name object with search results included Thanks @jcvignoli
- Added use loggerInterface to Cache class
- Title class Fixed bug variable not set in all pub methods
- Cache class added extra debug info
- Changed some file names to be PSR4 compliant
- Added missing Exception class
- Title class trailer() fixed bug and warning from get_headers
Bug fixes and a few additions
- Title class soundtrack changes
The output array is changed, now the separate comments are inside creditSplit array where they belong (see wiki)
CreditSplit['creditors'] has now a attribute field that contains any remaining text after the anchor name. Example: as Roger Whitaker
massive code cleanup, simplified checks, added missing checks etc - Name class spouse changes
Removed leftover debug info
comments are now in a array() as there might be more than one comment - Several code improvements/cleanups
small bug fixes and additions
- Title class plot added parameter $spoil (boolean) Default: false (not include spoilers)
- Title class cast() changed name_alias to alias as i don't use snake case anywhere else
- Title class connection fixed bug name and id not checked
- Title class helper titleYear() fixed bug name and originalName not checked
Finaly 2.0 release
A major milestone for this library as i added the final amount of methods that would be possible within GraphQL API
The changes..
- Name class new methods added
mainPhoto()
video()
puparticle()
pubinterview()
pubmagazine()
pubpictorial()
pubportrayal()
age()
news() - Name class renamed pubother() to otherWorks as this is not under publicity listing but on its own page
- Name class changed height()
Metric is now int|float( in centimeters)
imperial is now separated in feet and inches, both as int|float
values are not rounded - Title class added new methods
productionStatus()
news() - NameSearch class changes
Added knownFor and primaryProfession to the output array
Added nameSearchAmount to config, you can now set this limit in there, default: 10 - Title class helper creditHelper() changes, used by: producer, composer, writer, director, cinematographer, stunts, thanks, visualEffects, specialEffects
thumbnail now use imagefunctions for perfect thumbnails
thumbnail size is raised to 140x207
The episode information from writer() is accurate but it is in total, not per specific job - Title class episode() changed full image max width instead of max height of 1000px
- Title and Name class award() changes
Fixed bug titleNotes and Id warning if there was no id or notes
Thumbnail now uses image functions from Image class for perfect thumbnails
Thumbnail size raised to 140x207
Title class award() added thumbnail images - Title class added watchOption() and fixed bug slash in category name
- Title class video() fixed bug that not all videos are found
- KeywordSearch class fixed bug spaces in array index, and made category name camelCase
- Calendar class comingSoon() fixed bug in releaseDate
Please read the issues i created for detailed info.
All changes are documented in the wiki
If you find any issue, bug or missing feature do so in the according issue threads or create a new one if it does not exists
Lots of bug fixes, new stuff and code restructures
- Added NameSearchAdvanced class
- Calendar class comingSoonSteaming() fixed bug missing config options
- ImageFunctions class, changed scale to match (SY to UY) and (SX to UX) to prevent scaling and white space in thumbnails
- Added video() to Title class gets all video urls without trailers
- Title class trailer() added missing id
- Title class trailer() fixed bug runtime
- Title class trailer() added new info to output array
- Title class mainPhoto() changed thumbnails and setting in config
- Name class credit() and creditKnownFor() changed thumbnail size to 140x207
- Name class added missing thumbnail vars
- TitleSearchAdvanced changed $creditId and $companyId without nm or co
- Title class otherCompany() fxed typo
- Chart class mostPopularTitle() added filter on genre parameter
- Chart class mostPopularTitle() added include adult constraint to include adult titles
- Added new class News this will get latest news
- Chart class added new method topBoxOffice()
- NameSearchAdvanced class fixed bug $names not set if there are no results
- TitleSearchAdvanced class added more info to the output array
- Title class added new method watchOption()
- Name class award(), code restructure and bug fixes
- Name class credit() code restructured and bug fix
- Title class episode() code restructured, change: full img max width 1000px instead height
- Title class award() added images
- Title class trailer() Added parameter $customThumb, old style image url or the new style
- Lots of code restructures to better readability and code understanding
New methods
- Added Company and CompanySearch class, now it is possible to search and get company info (even imdbPro stuff!)
- Calendar class, raised thumbnail width and height to 140x207
- Added CURLOPT_TIMEOUT to config, you can now set the timeout value.
- Calendar class, added comingSoonStreaming method, you can get editors lists of streaming providers
- Title class, added new method parentsGuide() get info about sex, drugs, profanity etc
bug fixes and changes to existing methods
- Chart class, complete overhaul and added new methods:
- thumbnails are now produced by Image class functions to create perfect thumbnails
- Thumbnail width and height are now set in config, default: 140x207, for all methods!
- $thumb is removed, only thumbnail urls are returned but it can be any size you want, keep ratio in mind
- Method name top250List is changed to top250Title as it better suits what it is.
- New methods top250Name(), mostPopularName() and mostPopularTitle() are added, all info is/will be in wiki
- Title class removed leftover debug info
- Trailers class all methods, added trailerCreateDate to ouput array
- Trailers class all methods, renamed runtime to trailerRuntime to make it clear it is runtime from trailer not title
- TitleCombined class, thumbnail width and height are now in config, keep ratio in mind when changing
New stuff and bug fixes
- Name class uses image calculation functions from Image class to create thumbnails.
- Name and Title class thumbnail width and height are now in config (see docblocks)
- Name class photo() if there is no image url this returns false instead of null.
- Added new Trailers class (all info in wiki)
- Trailers class thumbnail width and height are now in config (see docblocks)
- Added new KeywordSearch class you can use this to search titles with a specific keyword (info in wiki)
- Added keywordConstraint to TitleSearchAdvanced class it is now possible to search on keyword(s)
- Name class children(), parents() and relatives() fixed bug if there is no id there also was no name
- Name class children(), parents() and relatives() fixed bug if name and nameText object are both null will be skipped as this has no value
- Complete overhaul of Calendar class (there are user changes!, see #85)
- Thumbnail width and height are now set in config, default 50x74. Keep ratio in mind when changing.
- Thumb parameter is removed, only thumbnail url is returned but you can set it as large as you want but keep ratio in mind.
- Thumbnails are now produced by image processing functions from Image class to provide perfect thumbnails.
- Release date is now a iso date string: month-day-year, separate date parts are removed.
- output array is now categorized by release date e.g. released date is the index key.
- Release date is removed from output array as it is now the index key.
- fixed a bug when the title has Untitled IFC in the name, this will be skipped just as imdb does on the calendar page
- Added a few extra data checks (no user changes)
Added packagist
Added this project to packagist so it is installable with composer
Version bump and a few fixes
- Fixed old name of this project in changelog
- Added new class chart (all info is in wiki)
- Title class added subGenre to genre method
- Added ID to exception (if anything goes wrong it now displays ID)
- Made subGenre upper class words just like mainGenre