{"id":17487698,"url":"https://github.com/flowdee/my-api-films-php-class","last_synced_at":"2025-06-12T15:05:29.606Z","repository":{"id":33631226,"uuid":"37283545","full_name":"flowdee/my-api-films-php-class","owner":"flowdee","description":"PHP Class to communicate with My API Films","archived":false,"fork":false,"pushed_at":"2015-06-11T21:38:53.000Z","size":120,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T15:48:28.718Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flowdee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-11T20:10:41.000Z","updated_at":"2015-06-11T21:24:31.000Z","dependencies_parsed_at":"2022-09-10T16:32:22.232Z","dependency_job_id":null,"html_url":"https://github.com/flowdee/my-api-films-php-class","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/flowdee/my-api-films-php-class","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowdee%2Fmy-api-films-php-class","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowdee%2Fmy-api-films-php-class/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowdee%2Fmy-api-films-php-class/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowdee%2Fmy-api-films-php-class/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flowdee","download_url":"https://codeload.github.com/flowdee/my-api-films-php-class/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowdee%2Fmy-api-films-php-class/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259490491,"owners_count":22865762,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-19T03:43:17.149Z","updated_at":"2025-06-12T15:05:29.583Z","avatar_url":"https://github.com/flowdee.png","language":"PHP","readme":"#My API Films PHP Class\nThis PHP Class was created in order to communicate with My API Films.\nFor more information please take a look into the official [My API Films documentation](http://www.myapifilms.com/ \"My API Films documentation\").\n\n##Installation\nIn order to use this class respectively the API we suggest using an access **Token** which will be will be mandatory soon. You can easily gent your token [here](http://www.myapifilms.com/form.jsp \"here\").\n\n``` php\n// Including class to your project\nrequire('My-API-Films.php');\n\n// Setup My API Films with your credentials\n$api = new My_API_Films();\n$api-\u003eset_token('MY_API_FILMS_TOKEN_HERE');\n```\n\nPlease replaced \u003ccode\u003eMY_API_FILMS_TOKEN_HERE\u003c/code\u003e with your private token.\n\n##Examples\n###Receive movie data by id\n``` php\n// Receive basic movie data\n$movie = $api-\u003eget_entry_by_id('tt1843866');\nvar_dump($movie);\n```\n\n###Receive movie data by id including additional parameters\n``` php\n// Prepare parameters\n$param = array(\n\t'trailer' =\u003e true, \n\t'actors' =\u003e 'S'\n);\t\t\n\n// Receive enhanced movie data\n$movie = $api-\u003eget_entry_by_id('tt1843866', $param);\nvar_dump($movie);\n```\n\n###Receive movie trailer url\n``` php\n// Get movie trailer url\n$trailer = $api-\u003eget_entry_trailer('tt1843866');\necho($trailer);\n```\n\n##What's coming next?\nI'm planning to enhance the class continuously in order to receive more specific data. Please take a look into the [issues](https://github.com/flowdee/my-api-films-php-class/issues \"issues\") and create a new one if you need a special function/enhancement.\n\n##Credits\n* [My API Films](http://www.myapifilms.com/ \"My API Films\")\n\nIf you don't want to miss an update or say hello, follow me on Twitter: [@flowdee](https://twitter.com/flowdee \"@flowdee\") :wink:","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflowdee%2Fmy-api-films-php-class","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflowdee%2Fmy-api-films-php-class","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflowdee%2Fmy-api-films-php-class/lists"}