{"id":28299210,"url":"https://github.com/thblt-thlgn/omdb","last_synced_at":"2025-08-11T14:42:44.919Z","repository":{"id":42836380,"uuid":"264534049","full_name":"thblt-thlgn/omdb","owner":"thblt-thlgn","description":"Non official OMDb Typescript SDK ","archived":false,"fork":false,"pushed_at":"2022-03-26T17:36:22.000Z","size":243,"stargazers_count":2,"open_issues_count":8,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-17T02:40:24.922Z","etag":null,"topics":["nodejs","omdb-api","typescript"],"latest_commit_sha":null,"homepage":"http://www.omdbapi.com/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thblt-thlgn.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":"2020-05-16T21:51:51.000Z","updated_at":"2023-11-24T10:30:14.000Z","dependencies_parsed_at":"2022-09-23T16:52:13.358Z","dependency_job_id":null,"html_url":"https://github.com/thblt-thlgn/omdb","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/thblt-thlgn/omdb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thblt-thlgn%2Fomdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thblt-thlgn%2Fomdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thblt-thlgn%2Fomdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thblt-thlgn%2Fomdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thblt-thlgn","download_url":"https://codeload.github.com/thblt-thlgn/omdb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thblt-thlgn%2Fomdb/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269905702,"owners_count":24494313,"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","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["nodejs","omdb-api","typescript"],"created_at":"2025-05-23T08:21:02.204Z","updated_at":"2025-08-11T14:42:44.853Z","avatar_url":"https://github.com/thblt-thlgn.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OMDb Typescript SDK\n\n![](https://github.com/thblt-thlgn/omdb/workflows/Run%20tests/badge.svg)\n[![npm version](https://badge.fury.io/js/%40thblt-thlgn%2Fomdb.svg)](https://badge.fury.io/js/%40thblt-thlgn%2Fomdb)\n\nLightweight non official [OMDb](http://www.omdbapi.com/) (Movie database) Typescript SDK\n\n_Contributions are more than welcome_\n\n## Install\n\n```sh\n# Using npm\n$ npm install @thblt-thlgn/omdb\n\n# Or using yarn\n$ yarn add @thblt-thlgn/omdb\n```\n\n## How to use ?\n\n```ts\n// Import in TypeScript\nimport OMDb from '@thblt-thlgn/omdb';\n\n// Import in JavaScript\nconst { OMDb } = require('@thblt-thlgn/omdb');\n\n// Create a new instance\nconst client = new OMDb('my_api_key'); // Check out http://www.omdbapi.com/apikey.aspx\n\n// Search a movie\nclient.search('Onward')\n  .then(console.log)\n  .catch(console.error);\n\n// Get a movie by its title\nclient.getByTitle('Shrek')\n  .then(console.log)\n  .catch(console.error);\n\n// Get a movie by its IMDb ID\nclient.getById('tt2575988')\n  .then(console.log)\n  .catch(console.error);\n```\n\n## Run tests\n```sh\n$ env API_KEY=my_api_key yarn test\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthblt-thlgn%2Fomdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthblt-thlgn%2Fomdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthblt-thlgn%2Fomdb/lists"}