{"id":15024353,"url":"https://github.com/devvoh/tvmaze-api-client","last_synced_at":"2026-03-16T21:31:29.291Z","repository":{"id":56967140,"uuid":"101407105","full_name":"devvoh/tvmaze-api-client","owner":"devvoh","description":"TVmaze PHP API Client","archived":false,"fork":false,"pushed_at":"2017-08-29T11:21:38.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-03-15T09:02:54.959Z","etag":null,"topics":["api-client","php","php56","php7","tvmaze","tvmazeapi"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devvoh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-25T13:34:46.000Z","updated_at":"2024-03-15T09:02:54.960Z","dependencies_parsed_at":"2022-08-21T06:10:22.998Z","dependency_job_id":null,"html_url":"https://github.com/devvoh/tvmaze-api-client","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devvoh%2Ftvmaze-api-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devvoh%2Ftvmaze-api-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devvoh%2Ftvmaze-api-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devvoh%2Ftvmaze-api-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devvoh","download_url":"https://codeload.github.com/devvoh/tvmaze-api-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243324266,"owners_count":20273098,"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":["api-client","php","php56","php7","tvmaze","tvmazeapi"],"created_at":"2024-09-24T20:00:10.116Z","updated_at":"2025-12-28T01:18:02.260Z","avatar_url":"https://github.com/devvoh.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tvmzaze-api-client\nA very barebones API client, currently only intended to search for shows and get their information, including episodes. No crew list, etc. at this point.\n\nHere's the example script:\n```php\n$client = new TVmazeApi\\Client();\n$shows = $client-\u003esearchShow(\"firefl\");\n\n// Loop through the shows and show their id \u0026 name\nforeach ($shows as $show) {\n    echo \"#{$show-\u003eid}: {$show-\u003ename}\\n\";\n}\n\necho \"\\n\";\n\n// Get Firefly by id\n$show = $client-\u003efetchShowById(180);\necho \"{$show-\u003ename} episodes:\\n\";\nforeach ($client-\u003efetchEpisodesByShowId($show-\u003eid) as $episode) {\n    echo \"{$episode-\u003egetNiceShortTag()} - {$episode-\u003ename}\\n\";\n}\n```\n\nTo get only the highest-scoring search result:\n```php\n$client = new TVmazeApi\\Client();\n\n$show = $client-\u003esearchOneShow(\"firefl\");\n```\n\nTo get an array of matching search results:\n```php\n$shows = $client-\u003esearchShow(\"firefl\");\n```\n\nTo get a show by its ID:\n```php\n$show = $client-\u003efetchShowById(180);\n```\n\nTo get a show's episodes by the show's ID:\n```php\n$show = $client-\u003efetchShowById(180);\n$episodes = $client-\u003efetchEpisodesByShowId($show-\u003eid);\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevvoh%2Ftvmaze-api-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevvoh%2Ftvmaze-api-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevvoh%2Ftvmaze-api-client/lists"}