{"id":26649936,"url":"https://github.com/testorg0373/t-omdb","last_synced_at":"2026-01-11T13:34:27.999Z","repository":{"id":153937374,"uuid":"631170965","full_name":"TestOrg0373/t-omdb","owner":"TestOrg0373","description":"Unofficial Dart library for interacting with OMDb API","archived":false,"fork":false,"pushed_at":"2023-04-22T11:26:27.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T01:03:24.078Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TestOrg0373.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2023-04-22T06:45:56.000Z","updated_at":"2024-02-13T04:48:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"c3373507-be0b-4538-8edf-4ba6935b0e95","html_url":"https://github.com/TestOrg0373/t-omdb","commit_stats":null,"previous_names":["testorg0373/t-omdb"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TestOrg0373/t-omdb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TestOrg0373%2Ft-omdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TestOrg0373%2Ft-omdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TestOrg0373%2Ft-omdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TestOrg0373%2Ft-omdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TestOrg0373","download_url":"https://codeload.github.com/TestOrg0373/t-omdb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TestOrg0373%2Ft-omdb/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260705809,"owners_count":23049488,"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-03-25T01:03:28.575Z","updated_at":"2026-01-11T13:34:27.965Z","avatar_url":"https://github.com/TestOrg0373.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unofficial Dart library for interacting with OMDb API\nFor questions or help ask \u003ca href=\"https://github.com/akula-shark/t-omdb/discussions/categories/q-a\"\u003ehere\u003c/a\u003e. File issues \u003ca href=\"https://github.com/akula-shark/t-omdb/issues\"\u003ehere\u003c/a\u003e and see pub.dev page \u003ca href=\"https://pub.dev/packages/t_omdb\"\u003ehere\u003c/a\u003e.\n\n## Todo list\n- Posters API\n- Tests\n\n## Getting started\n\n### Add dependency\n```\n$ dart pub add t_omdb\n```\nor add it manually to your `pubspec.yaml` file:\n```yaml\ndependencies:\n  t_omdb: ^replace-with-latest-version\n```\n### Example usage:\n```dart\nimport 'package:t_omdb/t_omdb.dart';\n\nvoid main() async {\n  final omdb = OmdbApi('your-api-key');\n\n  // Search for \"guardians of the galaxy\" by it's imdb id\n  final String? byId = await omdb.searchById('tt3896198');\n\n  // Search specifically for \"guardians of the galaxy\" by title (returns the first result)\n  final String? byTitle = await omdb.searchByTitle('guardians of the galaxy');\n\n  // Search for \"guardians of the galaxy\" by query (returns multiple results that match the query)\n  final String? byQuery = await omdb.searchByQuery('guardians of the galaxy', type: OmdbType.movie, year: '2017', responseType: OmdbResponseType.json);\n\n  print(byId);\n  print(byTitle);\n  print(byQuery);\n}\n```\n## Parameters\n\n### By ID or Title\n*Please note either i or t is required*\n\n| Parameter | Required | Valid options          | Description |\n| --------- | -------- |------------------------| ----------- |\n| i         | Optional*| \u003cempty\u003e                | A valid IMDb ID (e.g. tt1285016) |\n| t         | Optional*| \u003cempty\u003e                | Movie title to search for. |\n| type      | No       | movie, series, episode | Type of result to return. |\n| y         | No       | \u003cempty\u003e                | Year of release. |\n| plot      | No       | short, full            | Return short or full plot. |\n| r         | No       | json, xml              | The data type to return. |\n\n### By Search\n\n| Parameter | Required | Valid options        | Default Value | Description |\n| --------- |----------|----------------------| ------------- | ----------- |\n| s         | Yes      | \u003cempty\u003e              |               | Movie title to search for. |\n| type      | No       | movie, series, episode |      | Type of result to return. |\n| y         | No       | \u003cempty\u003e              |              | Year of release. |\n| r         | No       | json, xml            | json         | The data type to return. |\n| page      | No       | 1 - 100              | 1            | Page number to return. |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestorg0373%2Ft-omdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftestorg0373%2Ft-omdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestorg0373%2Ft-omdb/lists"}