Installations
npm install gigya
Score
64.2
Supply Chain
85.7
Quality
72
Maintenance
50
Vulnerability
77.8
License
Releases
Unable to fetch releases
Developer
scotthovestadt
Developer Guide
Module System
CommonJS
Min. Node Version
Typescript Support
No
Node Version
10.16.3
NPM Version
6.9.0
Statistics
38 Stars
148 Commits
61 Forks
9 Watching
6 Branches
9 Contributors
Updated on 06 Aug 2024
Languages
TypeScript (100%)
Total Downloads
Cumulative downloads
Total Downloads
509,907
Last day
-48.1%
416
Compared to previous day
Last week
-5.9%
2,463
Compared to previous week
Last month
-2.7%
11,831
Compared to previous month
Last year
-16.3%
101,077
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dev Dependencies
1
Unofficial Gigya JavaScript REST SDK
Support and Usage
This 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.
Installation
Gigya is listed on NPM. To install, run the following command within your project folder:
npm install gigya
Usage Guide
Please follow these steps to integrate Gigya within your Node JS application:
- Install the SDK
- Obtain an API Key and Secret Key from Gigya
- Include the Gigya module within your project.
- Login the user to acquire their UID
- Use Gigya's API to send requests
Sending a Request
After 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.
1// Include Gigya's SDK 2import Gigya from 'gigya'; 3 4// Initialize SDK with your API Key and Secret. 5const gigya = new Gigya('YOUR_API_KEY', 'YOUR_DATA_CENTER', 'YOUR_SECRET'); 6 7// or: 8 9// Initialize SDK with your API Key, User Key, and User Secret. 10const gigya = new Gigya('YOUR_API_KEY', 'YOUR_DATA_CENTER', 'YOUR_USER_KEY', 'YOUR_USER_SECRET'); 11 12// Initialize SDK with your API Key, User Key, and Private Key. 13const gigya = new Gigya('YOUR_API_KEY', 'YOUR_DATA_CENTER', { userKey: 'YOUR_USER_KEY', privateKey: 'YOUR_USER_PRIVATE_KEY' }); 14 15// or: 16 17// Initialize without keys and pass to each method. 18const gigya = new Gigya(); 19 20// Fetch user's account. 21// Returns a Promise. Promise is thrown on error. 22const response = await gigya.accounts.getAccountInfo({ 23 UID: 'PUT-UID-HERE' 24}); 25 26// Act on account. 27console.log(response.UID);
Without using TypeScript
1// Include Gigya's SDK 2var Gigya = require('gigya').Gigya; 3 4// Initialize SDK with your API Key and Secret. 5const gigya = new Gigya('YOUR_API_KEY', 'YOUR_DATA_CENTER', 'YOUR_SECRET');
Gigya Front-End
For your front-end implementation, check out Gigya Markup!
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: license.txt:0
- Info: FSF or OSI recognized license: MIT License: license.txt:0
Reason
Found 4/9 approved changesets -- score normalized to 4
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 26 are checked with a SAST tool
Reason
10 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw
- Warn: Project is vulnerable to: GHSA-58f5-hfqc-jgch
- Warn: Project is vulnerable to: GHSA-jv3g-j58f-9mq9
- Warn: Project is vulnerable to: GHSA-hhhv-q57g-882q
- Warn: Project is vulnerable to: GHSA-896r-f27r-55mw
- Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9
- Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm
- Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp
- Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6
- Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3
Score
2.3
/10
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More