{"_id":"@agao2/sdk-lotr","_rev":"1-1035c5de9c8f4b378ea555580f7059ec","name":"@agao2/sdk-lotr","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@agao2/sdk-lotr","version":"1.0.0","description":"This package provides a client SDK for interacting with the LOTR (Lord of the Rings) API.","author":"","license":"ISC","bugs":{"url":"https://github.com/hatchways-community/9cd8ace9426e4a299e5d488f3c58b126/issues"},"homepage":"https://github.com/hatchways-community/9cd8ace9426e4a299e5d488f3c58b126#readme","dependencies":{"axios":"^1.4.0","joi":"^17.9.2"},"gitHead":"0187324de152b63225824d7308aaec71e4ff7e51","_id":"@agao2/sdk-lotr@1.0.0","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-KyKk3VE23RPUB+GW2G+hYDwL4V255xuU6ybplg565iwHMfEECKTF64JtVMvrkBchmXtEwEPft9IknMtYCzmkOw==","shasum":"fb8db201c0fe78b22c4d3a1a9ec37095abe345bc","tarball":"https://registry.npmjs.org/@agao2/sdk-lotr/-/sdk-lotr-1.0.0.tgz","fileCount":7,"unpackedSize":3509,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBFj8bOrYy3nSnN6gMSoUC0sayIKcCpbfdPqX+pOqgzdAiB7dKibobWgRfIl63EWPPcyUHiw8Kj36h458P3jLOUu1Q=="}]},"_npmUser":{"name":"agao2","email":"gaoalexander73@gmail.com"},"directories":{},"maintainers":[{"name":"agao2","email":"gaoalexander73@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-lotr_1.0.0_1687415338251_0.6150995969000221"},"_hasShrinkwrap":false},"1.0.1":{"name":"@agao2/sdk-lotr","version":"1.0.1","description":"This package provides a client SDK for interacting with the LOTR (Lord of the Rings) API.","author":"","license":"ISC","bugs":{"url":"https://github.com/hatchways-community/9cd8ace9426e4a299e5d488f3c58b126/issues"},"homepage":"https://github.com/hatchways-community/9cd8ace9426e4a299e5d488f3c58b126#readme","dependencies":{"axios":"^1.4.0","joi":"^17.9.2"},"gitHead":"0187324de152b63225824d7308aaec71e4ff7e51","_id":"@agao2/sdk-lotr@1.0.1","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-dCGJAT7wXW5uoGqd9DsQ+dYRaLzbiV5GufZ1TVXmVij2wkxJD1nd/9wC81ANvvVVj6FOUiRckwiqsWF5MhfeMQ==","shasum":"eb9dcb4d0474c43bba7fac1236d5fabc6e077d7d","tarball":"https://registry.npmjs.org/@agao2/sdk-lotr/-/sdk-lotr-1.0.1.tgz","fileCount":7,"unpackedSize":4035,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXvG/PZawLGnV6RfqbSQ9KUVy++xdj4+kUYktqkYmEuwIgBUqpJdwAdNGDmXK33INDKOXXiPh0L71YzAaYjll4aIo="}]},"_npmUser":{"name":"agao2","email":"gaoalexander73@gmail.com"},"directories":{},"maintainers":[{"name":"agao2","email":"gaoalexander73@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdk-lotr_1.0.1_1687417731159_0.16558078205461024"},"_hasShrinkwrap":false}},"time":{"created":"2023-06-22T06:28:58.137Z","1.0.0":"2023-06-22T06:28:58.492Z","modified":"2023-06-22T07:08:51.574Z","1.0.1":"2023-06-22T07:08:51.409Z"},"maintainers":[{"name":"agao2","email":"gaoalexander73@gmail.com"}],"description":"This package provides a client SDK for interacting with the LOTR (Lord of the Rings) API.","homepage":"https://github.com/hatchways-community/9cd8ace9426e4a299e5d488f3c58b126#readme","bugs":{"url":"https://github.com/hatchways-community/9cd8ace9426e4a299e5d488f3c58b126/issues"},"license":"ISC","readme":"# Lord of the Rings SDK\r\n\r\nSDK is published at https://www.npmjs.com/package/@agao2/sdk-lotr\r\n\r\nTo install, use `npm i @agao2/sdk-lotr`\r\n\r\nExamples of using sdk: \r\n```\r\nconst { Lotr } = require(\"@agao2/sdk-lotr/lib/lotr\")\r\nconst lotr = new Lotr('{API KEY HERE}')\r\n\r\nconst movies = await lotr.getMovies({ limit: 1, offset: 2 });\r\nconst movie = await lotr.getMovie('5cd95395de30eff6ebccde56');\r\nconst quotes = await lotr.getQuotes();\r\nconst movieQuotes = await lotr.getQuotes({ movieId: '5cd95395de30eff6ebccde5d', limit: 1, offset: 2 });\r\nconst quote = await lotr.getQuote('5cd96e05de30eff6ebcce841');\r\n```","readmeFilename":"README.md"}