{"id":15680764,"url":"https://github.com/hamirmahal/lotr-sdk","last_synced_at":"2026-04-06T08:32:14.834Z","repository":{"id":167684730,"uuid":"642147494","full_name":"hamirmahal/lotr-sdk","owner":"hamirmahal","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-08T23:46:17.000Z","size":185,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-06T10:09:48.379Z","etag":null,"topics":["ci","eslint","git","github-actions","javascript","jest","jest-tests","js","json","json-api","npm","ts","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@hamirmahal/lotr-sdk","language":"TypeScript","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/hamirmahal.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":"2023-05-17T23:42:34.000Z","updated_at":"2023-07-12T23:27:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"076ad5e9-cc64-46cc-aa81-5a50a70bc1d7","html_url":"https://github.com/hamirmahal/lotr-sdk","commit_stats":null,"previous_names":["hamirmahal/lotr-sdk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hamirmahal/lotr-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamirmahal%2Flotr-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamirmahal%2Flotr-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamirmahal%2Flotr-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamirmahal%2Flotr-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hamirmahal","download_url":"https://codeload.github.com/hamirmahal/lotr-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamirmahal%2Flotr-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31464604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"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":["ci","eslint","git","github-actions","javascript","jest","jest-tests","js","json","json-api","npm","ts","typescript"],"created_at":"2024-10-03T16:44:17.114Z","updated_at":"2026-04-06T08:32:14.819Z","avatar_url":"https://github.com/hamirmahal.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Tests](https://github.com/hamirmahal/lotr-sdk/actions/workflows/test.yml/badge.svg)\n\n# Installation\n\nYou can run `npm install @hamirmahal/lotr-sdk` in your terminal to install this SDK for use in TypeScript and JavaScript projects.\n\n# Usage\n\n## TypeScript\n\n```typescript\nimport { LordOfTheRingsSDK } from '@hamirmahal/lotr-sdk';\n\nconst lotrSDK = new LordOfTheRingsSDK();\n\nconst runDemo = async () =\u003e {\n  const result = await lotrSDK.authenticate('YOUR_API_KEY_HERE');\n  console.log('Authentication result: ', result);\n\n  const movies = await lotrSDK.getMovies();\n  console.log('Movies: ', movies);\n};\n\nrunDemo();\n```\n\n## JavaScript\n\n```javascript\nconst { LordOfTheRingsSDK } = require('@hamirmahal/lotr-sdk');\n\nconst lotrSDK = new LordOfTheRingsSDK();\n\nconst runDemo = async () =\u003e {\n  const result = await lotrSDK.authenticate('YOUR_API_KEY_HERE');\n  console.log('Authentication result: ', result);\n\n  const movies = await lotrSDK.getMovies();\n  console.log('Movies: ', movies);\n};\n\nrunDemo();\n```\n\n# Testing\n\n1. Create a `.env` file at the root of this repository if it does not exist already, and update the contents of the file with your API key.\n\n```\nAPI_KEY=replace_everything_after_the_equals_sign_with_your_api_key\n```\n\n2. You should now be able to run `npm test` to verify this SDK works as intended.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamirmahal%2Flotr-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhamirmahal%2Flotr-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamirmahal%2Flotr-sdk/lists"}