{"_id":"@charles-dr/lord-of-rings","_rev":"2-6b4e3eebd2e59f0e882846b3e9094a40","name":"@charles-dr/lord-of-rings","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@charles-dr/lord-of-rings","version":"1.0.0","description":"The Lord of the Rings SDK","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","lint":"tslint -p tsconfig.json","prepare":"npm run build","prepublishOnly":"npm run lint","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags","test":"echo \"Error: no test specified\" && exit 1"},"keywords":["SDK"],"author":{"name":"Charles R."},"license":"ISC","repository":{"type":"git","url":"git+https://github.com/charles-dr/lord-of-rings.git"},"bugs":{"url":"https://github.com/charles-dr/lord-of-rings/issues"},"homepage":"https://github.com/charles-dr/lord-of-rings#readme","publishConfig":{"access":"public"},"devDependencies":{"prettier":"^2.8.8","tslint":"^6.1.3","tslint-config-prettier":"^1.18.0","typescript":"^5.0.4"},"gitHead":"237cdf60c3791f5416c65645e79be383b4d7709b","_id":"@charles-dr/lord-of-rings@1.0.0","_nodeVersion":"20.2.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-iXIXAfXt7LVXKMIBFq4+0Bq9ODta8K/E+9uSf3D+dpSpD5cUgWVN/+7SXF3k4GxX+gtIcjCzHfry7HcMUA7k9A==","shasum":"4f7e7a3d0d726dc51592d3cb5d5780f8fb0ec724","tarball":"https://registry.npmjs.org/@charles-dr/lord-of-rings/-/lord-of-rings-1.0.0.tgz","fileCount":3,"unpackedSize":1380,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDB/1nG7vEitD10R0S3SjTeyZ0o6bOlmzAqakAfTnK0bwIhALTZG5cAo6cuLChFOeBw3PI0FTzBuCg+KqZd1sMIm6de"}]},"_npmUser":{"name":"charles-dr","email":"charles.d.ramos12@gmail.com"},"directories":{},"maintainers":[{"name":"charles-dr","email":"charles.d.ramos12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lord-of-rings_1.0.0_1684444939163_0.47328720558397364"},"_hasShrinkwrap":false},"1.0.1":{"name":"@charles-dr/lord-of-rings","version":"1.0.1","description":"The Lord of the Rings SDK","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","lint":"tslint -p tsconfig.json","prepare":"npm run build","prepublishOnly":"npm run lint","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags","test":"jest --config jestconfig.json"},"keywords":["SDK"],"author":{"name":"Charles R."},"license":"ISC","repository":{"type":"git","url":"git+https://github.com/charles-dr/lord-of-rings.git"},"bugs":{"url":"https://github.com/charles-dr/lord-of-rings/issues"},"homepage":"https://github.com/charles-dr/lord-of-rings#readme","publishConfig":{"access":"public"},"devDependencies":{"@types/jest":"^29.5.1","@types/node":"^20.2.1","dotenv":"^16.0.3","jest":"^29.5.0","prettier":"^2.8.8","ts-jest":"^29.1.0","tslint":"^6.1.3","tslint-config-prettier":"^1.18.0","typescript":"^5.0.4"},"dependencies":{"axios":"^1.4.0"},"gitHead":"04e132d466aff49ac714fa7b25caba45bb9b830b","_id":"@charles-dr/lord-of-rings@1.0.1","_nodeVersion":"20.2.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-BG0EZ2Q0JMlcemWr2/mvwTdwsED6J7j5MC7kzHEncB6ociWjU4eqD/dJ2xd4LsHAbgTyWFFFTMR8xuRMa0681A==","shasum":"26a41859dbfd3bd48a83baeb4b807e94a18a2d75","tarball":"https://registry.npmjs.org/@charles-dr/lord-of-rings/-/lord-of-rings-1.0.1.tgz","fileCount":11,"unpackedSize":8744,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8OLk3IVzGhCqEcVa/mvWoJCS8cJVNQILAFfPYtUW4OgIhALPCyLLMOR9ICc/LfkHWGQUGiLC+W7W3GRG5RV49pyXd"}]},"_npmUser":{"name":"charles-dr","email":"charles.d.ramos12@gmail.com"},"directories":{},"maintainers":[{"name":"charles-dr","email":"charles.d.ramos12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lord-of-rings_1.0.1_1684450673713_0.1979414535730879"},"_hasShrinkwrap":false},"1.0.2":{"name":"@charles-dr/lord-of-rings","version":"1.0.2","description":"The Lord of the Rings SDK","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","lint":"tslint -p tsconfig.json","prepare":"npm run build","prepublishOnly":"npm run lint","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags","test":"jest --config jestconfig.json"},"keywords":["SDK"],"author":{"name":"Charles R."},"license":"ISC","repository":{"type":"git","url":"git+https://github.com/charles-dr/Charles-Ramos-SDK.git"},"bugs":{"url":"https://github.com/charles-dr/Charles-Ramos-SDK/issues"},"homepage":"https://github.com/charles-dr/Charles-Ramos-SDK#readme","publishConfig":{"access":"public"},"devDependencies":{"@types/jest":"^29.5.1","@types/node":"^20.2.1","dotenv":"^16.0.3","jest":"^29.5.0","prettier":"^2.8.8","ts-jest":"^29.1.0","tslint":"^6.1.3","tslint-config-prettier":"^1.18.0","typescript":"^5.0.4"},"dependencies":{"axios":"^1.4.0"},"gitHead":"253f73cfe005ecefbae8d56e6d6899e10af895e3","_id":"@charles-dr/lord-of-rings@1.0.2","_nodeVersion":"20.2.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-9tr9sHTUUwhDlXYERG3C3skNRuRBiZ2RZTdk5+A7Sh3vzkkJ+G9JZ9HskwoqsdCJFuV2HiV65nLvBkOCDdk4Aw==","shasum":"486361897a30331f84e2afbeed024c9be397fc1c","tarball":"https://registry.npmjs.org/@charles-dr/lord-of-rings/-/lord-of-rings-1.0.2.tgz","fileCount":12,"unpackedSize":9835,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICqMB45AaL7fFixQCshYupM/Uq7/9NUTkGLPNbpdReHsAiBcz7ac8ZZrwrxV8OubVDQbuc61seYmmykvvu+4dnil1Q=="}]},"_npmUser":{"name":"charles-dr","email":"charles.d.ramos12@gmail.com"},"directories":{},"maintainers":[{"name":"charles-dr","email":"charles.d.ramos12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lord-of-rings_1.0.2_1684452920817_0.22870287194224392"},"_hasShrinkwrap":false}},"time":{"created":"2023-05-18T21:22:18.924Z","1.0.0":"2023-05-18T21:22:19.316Z","modified":"2023-05-18T23:35:21.080Z","1.0.1":"2023-05-18T22:57:53.898Z","1.0.2":"2023-05-18T23:35:20.967Z"},"maintainers":[{"name":"charles-dr","email":"charles.d.ramos12@gmail.com"}],"description":"The Lord of the Rings SDK","homepage":"https://github.com/charles-dr/Charles-Ramos-SDK#readme","keywords":["SDK"],"repository":{"type":"git","url":"git+https://github.com/charles-dr/Charles-Ramos-SDK.git"},"author":{"name":"Charles R."},"bugs":{"url":"https://github.com/charles-dr/Charles-Ramos-SDK/issues"},"license":"ISC","readme":"# The Lord of the Rings SDK\r\n\r\nTypescript SDK for The Lord of the Rings API\r\n\r\n## Access Token\r\nBefore using the SDK, you'll need to get an access token from https://the-one-api.dev.\r\n\r\n## Installation\r\n\r\nUsing npm:\r\n\r\n```bash\r\n$ npm install @charles-dr/lord-of-rings\r\n```\r\n\r\nUsing yarn:\r\n```bash\r\n$ yarn add @charles-dr/lord-of-rings\r\n```\r\n\r\nUsing pnpm:\r\n```bash\r\n$ pnpm add @charles-dr/lord-of-rings\r\n```\r\n\r\nOnce the package is installed, you can import the library.\r\n\r\n```js\r\nimport LordOfRings from '@charles-dr/lord-of-rings';\r\n```\r\n\r\nor\r\n\r\n```js\r\nimport { LordOfRings } from '@charles-dr/lord-of-rings';\r\n```\r\n\r\n## Usage\r\n\r\nTo get movies:\r\n\r\n```js\r\nimport LordOfRings from '@charles-dr/lord-of-rings';\r\n\r\nconst client = new LordOfRings(\"<YOUR ACCESS TOKEN>\");\r\n\r\nconst movies = await client.movie.getAll();\r\n\r\n// you can use the pagination also.\r\nconst movies = await client.movie.getAll(10, 5); // limit: 10, offset: 5\r\n```\r\n\r\nTo get quotes:\r\n\r\n```js\r\nconst quotes = await client.quote.getAll();\r\n\r\n// with pagination\r\nconst quotes = await client.quote.getAll(10, 5);\r\n```","readmeFilename":"README.md"}