{"id":24056193,"url":"https://github.com/arjun1237/tvmaze_scrapper_api_rtl-interview","last_synced_at":"2025-02-26T12:13:40.183Z","repository":{"id":110876056,"uuid":"153138689","full_name":"arjun1237/TVMaze_Scrapper_API_RTL-Interview","owner":"arjun1237","description":"RTL - Technical Test for Interview","archived":false,"fork":false,"pushed_at":"2018-11-02T11:53:25.000Z","size":466,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-09T05:00:39.605Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arjun1237.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-15T15:36:38.000Z","updated_at":"2018-11-02T11:55:11.000Z","dependencies_parsed_at":"2023-04-29T19:30:49.426Z","dependency_job_id":null,"html_url":"https://github.com/arjun1237/TVMaze_Scrapper_API_RTL-Interview","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arjun1237%2FTVMaze_Scrapper_API_RTL-Interview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arjun1237%2FTVMaze_Scrapper_API_RTL-Interview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arjun1237%2FTVMaze_Scrapper_API_RTL-Interview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arjun1237%2FTVMaze_Scrapper_API_RTL-Interview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arjun1237","download_url":"https://codeload.github.com/arjun1237/TVMaze_Scrapper_API_RTL-Interview/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240849057,"owners_count":19867617,"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":"2025-01-09T04:59:54.745Z","updated_at":"2025-02-26T12:13:39.927Z","avatar_url":"https://github.com/arjun1237.png","language":"C#","readme":"# TVMaze_Scrapper\n\nUpdate :  \nThe feedback I received from the RTL company(Things that needs fixing) :\n```\n- Only one service in DI\n- Use of static classes\n- Thread.Sleep\n- No HttpClientFactory used but new HttpClient\n- Only one project\n- Wrong implementation of rate limit\n```\n\nRTL - Backend Developer Technical Test - \n\n\nTvMaze Scraper\nTime: 3 hours\nBackground\nFor a new metadata ingester we need a service that provides the cast of all the tv shows in the TVMaze database, so we can enrich our metadata system with this information. The TVMaze database provides a public REST API that you can query for this data.\n```\nhttp://www.tvmaze.com/api\n```\nThis API requires no authentication but it is rate limited, so keep that in mind.\n\nAssignment\n\nWe want you to create an application that:\n\n1. scrapes the TVMaze API for show and cast information;\n2. persists the data in storage;\n3. provides the scraped data using a REST API.\n\n\nWe want the REST API to satisfy the following business requirements.\n1. It should provide a paginated list of all tv shows containing the id of the TV show and a list of all the cast that are playing in that TV show.\n2. The list of the cast must be ordered by birthday descending.\nThe REST API should provide a JSON response when a call to a HTTP endpoint is made (it's up to you what URI).\nExample response:\n\n```\n[\n  {\n    \"id\": 1,\n    \"name\": \"Game of Thrones\",\n    \"cast\": [\n        {\n          \"id\": 9,\n          \"name\": \"Dean Norris\",\n          \"birthday\": \"1963-04-08\"\n        },\n        {\n          \"id\": 7,\n          \"name\": \"Mike Vogel\",\n          \"birthday\": \"1979-07-17\"\n        }\n        ]\n        },\n  {\n    \"id\": 4,\n    \"name\": \"Big Bang Theory\",\n    \"cast\": [\n        {\n          \"id\": 6,\n          \"name\": \"Michael Emerson\",\n          \"birthday\": \"1950-01-01\"\n        }\n    ]\n  }\n  \n]\n\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farjun1237%2Ftvmaze_scrapper_api_rtl-interview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farjun1237%2Ftvmaze_scrapper_api_rtl-interview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farjun1237%2Ftvmaze_scrapper_api_rtl-interview/lists"}