{"id":17955456,"url":"https://github.com/hirako2000/netflixroulette-js","last_synced_at":"2025-03-25T01:31:21.078Z","repository":{"id":77567320,"uuid":"81656641","full_name":"hirako2000/netflixroulette-js","owner":"hirako2000","description":"Netflixroulette js wrapper","archived":false,"fork":false,"pushed_at":"2018-02-09T22:22:24.000Z","size":5,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-19T06:42:42.091Z","etag":null,"topics":["netflix","netflixroulette","promise","wrapper","wrapper-api"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/hirako2000.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-11T14:03:47.000Z","updated_at":"2023-09-08T17:20:46.000Z","dependencies_parsed_at":"2023-03-12T00:59:42.255Z","dependency_job_id":null,"html_url":"https://github.com/hirako2000/netflixroulette-js","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirako2000%2Fnetflixroulette-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirako2000%2Fnetflixroulette-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirako2000%2Fnetflixroulette-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirako2000%2Fnetflixroulette-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hirako2000","download_url":"https://codeload.github.com/hirako2000/netflixroulette-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245381556,"owners_count":20606053,"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":["netflix","netflixroulette","promise","wrapper","wrapper-api"],"created_at":"2024-10-29T10:28:41.965Z","updated_at":"2025-03-25T01:31:21.073Z","avatar_url":"https://github.com/hirako2000.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# netflixroulette-js\nNetflixroulette js Promise wrapper\n\n### What is this\n- Low level http requests to netflixroulette API\n- Zero dependency\n- Returns a Promise\n- Full API support - Search by Title, Year, Actor, Director\n\n### Usage\nImport module\n```javascript\nimport netflix from 'netflixroulette-js';\n```\n\nSearch by Title. This returns a single entry as per API\n```javascript\nnetflix(\"Breaking Bad\")\n.then(function(response) {\n        console.log(\"Breaking Bad: \" + JSON.stringify(response, null, 2));\n      }\n).catch(function(error) {\n    console.log(\"Error \" +  error);\n})\n```\n\nSearch by Actor. This returns a set of entries, as per API\n```javascript\nnetflix({'actor': 'jim carrey'})\n.then(function(response) {\n        console.log(\"Jim carrey's movies: \" + JSON.stringify(response, null, 2));\n      }\n).catch(function(error) {\n    console.log(\"Error \" +  error);\n})\n\n```\n### Other params\nThe request takes either a String (movie Title)\nOr an Object containing \n- Title and year\nor\n- Director\n- Actor\n\n\nEnjoy! \n\nIf you wish to contirbute, just fork and raise PR, this will get merged if adhering to existing code implicit conventions.\n\nthanks!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhirako2000%2Fnetflixroulette-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhirako2000%2Fnetflixroulette-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhirako2000%2Fnetflixroulette-js/lists"}