{"_id":"@cambridge-pte/gigya","_rev":"9-c676c27266176aa2f48be66755c24cd6","name":"@cambridge-pte/gigya","dist-tags":{"latest":"3.0.5"},"versions":{"3.0.2":{"name":"@cambridge-pte/gigya","version":"3.0.2","keywords":["gigya"],"author":{"name":"Scott Hovestadt","email":"scott.hovestadt@gmail.com"},"license":"MIT","_id":"@cambridge-pte/gigya@3.0.2","maintainers":[{"name":"cupa-libmartinito","email":"lib.martinito@cambridge.org"},{"name":"jsunico-cupa","email":"renzo.sunico@cambridge.org"}],"homepage":"https://github.com/cambridge-pte/gigya","bugs":{"url":"https://github.com/cambridge-pte/gigya/issues"},"dist":{"shasum":"4e333e843463917348ba37e081dd4b97c60fd7c7","tarball":"https://registry.npmjs.org/@cambridge-pte/gigya/-/gigya-3.0.2.tgz","fileCount":154,"integrity":"sha512-k8LV+cL8gMP27jwy7613iUfRMLSfZubBUOm8ggz/M6ACOwml/hRiFPrG3vVhlHLgQllFK0rldkXmyxi6bszouw==","signatures":[{"sig":"MEQCIAK2H/rHCxUXx3txGoyj5Q/9LUrUc3YpwmzbYeSyOdoxAiBKBotvgs0HQcYXwVk+6caGPlPzPlixUUWL5gEzU9HD3Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":477741},"main":"dist/index.js","gitHead":"497773974ffe218d82a757d02128731370ee7341","scripts":{"build":"tsc","prepack":"npm run build"},"typings":"dist/index","_npmUser":{"name":"cupa-libmartinito","email":"lib.martinito@cambridge.org"},"repository":{"url":"git+ssh://git@github.com/cambridge-pte/gigya.git","type":"git"},"_npmVersion":"8.19.4","description":"Fork of Scott Hvestadt's Gigya SDK for NodeJS.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jose":"^1.17.1","lodash":"^4.17.15","request":"^2.79.0","@types/node":"^20.4.4","@types/lodash":"^4.14.195","@types/request":"^2.48.8","strict-uri-encode":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.1.6"},"_npmOperationalInternal":{"tmp":"tmp/gigya_3.0.2_1690354734451_0.5793715631673122","host":"s3://npm-registry-packages"}},"3.0.3":{"name":"@cambridge-pte/gigya","version":"3.0.3","keywords":["gigya"],"author":{"name":"Scott Hovestadt","email":"scott.hovestadt@gmail.com"},"license":"MIT","_id":"@cambridge-pte/gigya@3.0.3","maintainers":[{"name":"moris00","email":"moris.mascarinas@cambridge.org"},{"name":"jsunico-cupa","email":"renzo.sunico@cambridge.org"}],"homepage":"https://github.com/cambridge-pte/gigya","bugs":{"url":"https://github.com/cambridge-pte/gigya/issues"},"dist":{"shasum":"a233116e62e47470d6c4a9c93d221eb6a889e494","tarball":"https://registry.npmjs.org/@cambridge-pte/gigya/-/gigya-3.0.3.tgz","fileCount":154,"integrity":"sha512-fBxtwbj/gZmLQJ3aq++pXsEqgPM+YKhSlhYw33DJa9E/lj9el3Aj94bAlXzFBTjhwZY0Cjxpm7sGDzwEumvq4Q==","signatures":[{"sig":"MEYCIQD8qevQrlTkmccUGjFqebWiJMuPhII/hb5P8pYPmrWdhwIhAL4mX83RFm9Og02SzwyfONH5Y4VAqzjbKwi7PQpl9e5I","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":458805},"main":"dist/index.js","gitHead":"b1e4f6a95dc7f29bbbaf53db22956224907dabed","scripts":{"build":"tsc","prepack":"npm run build"},"typings":"dist/index","_npmUser":{"name":"moris00","email":"moris.mascarinas@cambridge.org"},"repository":{"url":"git+ssh://git@github.com/cambridge-pte/gigya.git","type":"git"},"_npmVersion":"8.19.4","description":"Fork of Scott Hvestadt's Gigya SDK for NodeJS.","directories":{},"_nodeVersion":"16.20.1","dependencies":{"jose":"^1.17.1","lodash":"^4.17.15","request":"^2.79.0","typescript":"3.5.3","@types/node":"15.6.1","@types/lodash":"^4.14.110","@types/request":"^2.48.2","strict-uri-encode":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.6.2"},"_npmOperationalInternal":{"tmp":"tmp/gigya_3.0.3_1690888377226_0.21045363600760414","host":"s3://npm-registry-packages"}},"3.0.4":{"name":"@cambridge-pte/gigya","version":"3.0.4","keywords":["gigya"],"author":{"name":"Scott Hovestadt","email":"scott.hovestadt@gmail.com"},"license":"MIT","_id":"@cambridge-pte/gigya@3.0.4","maintainers":[{"name":"moris00","email":"moris.mascarinas@cambridge.org"},{"name":"jsunico-cupa","email":"renzo.sunico@cambridge.org"}],"homepage":"https://github.com/cambridge-pte/gigya","bugs":{"url":"https://github.com/cambridge-pte/gigya/issues"},"dist":{"shasum":"4f793dba8715d08dedf7619f0085fd2acab61d5e","tarball":"https://registry.npmjs.org/@cambridge-pte/gigya/-/gigya-3.0.4.tgz","fileCount":154,"integrity":"sha512-iRMwaRroGH1ROLx2E1oaN/01ncT4LG/ZeYr7fY+UKsXC9CBcm/FS4quNh/+dcjixEkOSk5gCtw4OE1NB0hQLbA==","signatures":[{"sig":"MEQCICzUY5TemgFgUtL44gItGHOjfNhK9+yziVJIUk89A0ywAiARaQx5ycQmJJt+TWBCQ8Gqnia0IXslaUv6igj3LNqWkw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":462778},"main":"dist/index.js","gitHead":"ece8cabef9530bd84fb2cbd5d4d393f746060f14","scripts":{"build":"tsc","prepack":"npm run build"},"typings":"dist/index","_npmUser":{"name":"moris00","email":"moris.mascarinas@cambridge.org"},"repository":{"url":"git+ssh://git@github.com/cambridge-pte/gigya.git","type":"git"},"_npmVersion":"8.19.4","description":"Fork of Scott Hvestadt's Gigya SDK for NodeJS.","directories":{},"_nodeVersion":"16.20.1","dependencies":{"jose":"^1.17.1","lodash":"^4.17.15","request":"^2.79.0","strict-uri-encode":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.6.2","@types/node":"15.6.1","@types/lodash":"^4.14.110","@types/request":"^2.48.2"},"_npmOperationalInternal":{"tmp":"tmp/gigya_3.0.4_1690894249384_0.6151988278307854","host":"s3://npm-registry-packages"}},"3.0.5":{"name":"@cambridge-pte/gigya","description":"Fork of Scott Hvestadt's Gigya SDK for NodeJS.","keywords":["gigya"],"version":"3.0.5","author":{"name":"Scott Hovestadt","email":"scott.hovestadt@gmail.com"},"maintainers":[{"name":"moris00","email":"moris.mascarinas@cambridge.org"},{"name":"jsunico-cupa","email":"renzo.sunico@cambridge.org"},{"name":"rherreracup","email":"russel.herrera@cambridge.org"},{"name":"crugeria","email":"christian.rugeria@cambridge.org"},{"name":"educationtechnologysolutionsteam","email":"educationtechnologysolutionsteam@cambridge.org"}],"scripts":{"prepack":"npm run build","build":"tsc"},"repository":{"type":"git","url":"git+ssh://git@github.com/cambridge-pte/gigya.git"},"dependencies":{"jose":"^1.17.1","lodash":"^4.17.15","request":"^2.79.0","strict-uri-encode":"^2.0.0"},"main":"dist/index.js","typings":"dist/index","bugs":{"url":"https://github.com/cambridge-pte/gigya/issues"},"homepage":"https://github.com/cambridge-pte/gigya","devDependencies":{"@types/lodash":"^4.14.110","@types/node":"15.6.1","@types/request":"^2.48.2","typescript":"3.6.2"},"license":"MIT","_id":"@cambridge-pte/gigya@3.0.5","gitHead":"f56ac773d9d49414b95bb16cdd971312c40339d9","_nodeVersion":"22.16.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-SMRndGYJq3nU6GiLFJtOYd0VJu1weAxqGIC6FxJzTfWflq6n1lcFdlZNEwHCAPrExOZsbEG8DEoXjtrF99zOAA==","shasum":"db4d16dcd836413887080151eed63be23d4949dd","tarball":"https://registry.npmjs.org/@cambridge-pte/gigya/-/gigya-3.0.5.tgz","fileCount":154,"unpackedSize":463076,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDlMwsYjC26RDkdrlM1INeN5KtqaFjcwZr8RiJjt0OfPAiBiI1i4dE9uhUaBe+ybdVNOMkANaTOYa+193tRcZfu1Yw=="}]},"_npmUser":{"name":"crugeria","email":"christian.rugeria@cambridge.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/gigya_3.0.5_1748921656077_0.7005162138909444"},"_hasShrinkwrap":false}},"time":{"created":"2023-07-26T06:58:54.363Z","modified":"2025-06-03T03:34:16.574Z","3.0.2":"2023-07-26T06:58:54.780Z","3.0.3":"2023-08-01T11:12:57.454Z","3.0.4":"2023-08-01T12:50:49.544Z","3.0.5":"2025-06-03T03:34:16.323Z"},"bugs":{"url":"https://github.com/cambridge-pte/gigya/issues"},"author":{"name":"Scott Hovestadt","email":"scott.hovestadt@gmail.com"},"license":"MIT","homepage":"https://github.com/cambridge-pte/gigya","keywords":["gigya"],"repository":{"type":"git","url":"git+ssh://git@github.com/cambridge-pte/gigya.git"},"description":"Fork of Scott Hvestadt's Gigya SDK for NodeJS.","maintainers":[{"name":"moris00","email":"moris.mascarinas@cambridge.org"},{"name":"jsunico-cupa","email":"renzo.sunico@cambridge.org"},{"name":"rherreracup","email":"russel.herrera@cambridge.org"},{"name":"crugeria","email":"christian.rugeria@cambridge.org"},{"name":"educationtechnologysolutionsteam","email":"educationtechnologysolutionsteam@cambridge.org"}],"readme":"Unofficial Gigya JavaScript REST SDK\n==============\n\n<img width=\"620\" src=\"https://cloud.githubusercontent.com/assets/1831484/20920767/1a0acc7e-bb56-11e6-802f-31ed45a91768.png\">\n\n<img width=\"498\" src=\"https://cloud.githubusercontent.com/assets/1831484/20920781/2581495c-bb56-11e6-9206-dd7fd162f82f.png\">\n\n<img width=\"541\" src=\"https://cloud.githubusercontent.com/assets/1831484/20920780/25703306-bb56-11e6-91c8-6566736a2ccf.png\">\n\n\n## Support and Usage\nThis is an *unofficial* SDK for Gigya's REST API. Please do not contact Gigya support with questions or concerns about this SDK. For any issues, please make an issue on GitHub.\n\n## Installation\nGigya is listed on NPM. To install, run the following command within your project folder:\n```\nnpm install gigya\n```\n\n## Usage Guide\nPlease follow these steps to integrate Gigya within your Node JS application:\n- Install the SDK\n- <a href=\"http://developers.gigya.com/010_Developer_Guide#API_Key_and_Site_Setup\">Obtain an API Key and Secret Key from Gigya</a>\n- Include the Gigya module within your project.\n- <a href=\"http://developers.gigya.com/040_Demos/010_Social_Identity_Management/010_Social_Login/001_Basic_Social_Login\">Login the user to acquire their UID</a>\n- <a href=\"https://github.com/Gigya-Inc/node-gigya/blob/master/README.md#sending-a-request\">Use Gigya's API to send requests</a>\n\n## Sending a Request\nAfter you have logged in the user, you may use Gigya's API to access the user's profile and perform various activities. The following example demonstrates fetching a user's profile.\n````js\n// Include Gigya's SDK\nimport Gigya from 'gigya';\n\n// Initialize SDK with your API Key and Secret.\nconst gigya = new Gigya('YOUR_API_KEY', 'YOUR_DATA_CENTER', 'YOUR_SECRET');\n\n// or:\n\n// Initialize SDK with your API Key, User Key, and User Secret.\nconst gigya = new Gigya('YOUR_API_KEY', 'YOUR_DATA_CENTER', 'YOUR_USER_KEY', 'YOUR_USER_SECRET');\n\n// Initialize SDK with your API Key, User Key, and Private Key.\nconst gigya = new Gigya('YOUR_API_KEY', 'YOUR_DATA_CENTER', { userKey: 'YOUR_USER_KEY', privateKey: 'YOUR_USER_PRIVATE_KEY' });\n\n// or:\n\n// Initialize without keys and pass to each method.\nconst gigya = new Gigya();\n\n// Fetch user's account.\n// Returns a Promise. Promise is thrown on error.\nconst response = await gigya.accounts.getAccountInfo({\n  UID: 'PUT-UID-HERE'\n});\n\n// Act on account.\nconsole.log(response.UID);\n````\n\n## Without using TypeScript\n\n````js\n// Include Gigya's SDK\nvar Gigya = require('gigya').Gigya;\n\n// Initialize SDK with your API Key and Secret.\nconst gigya = new Gigya('YOUR_API_KEY', 'YOUR_DATA_CENTER', 'YOUR_SECRET');\n````\n\n## Gigya Front-End\nFor your front-end implementation, check out [Gigya Markup](https://github.com/scotthovestadt/gigya-markup)!\n","readmeFilename":"README.md"}