{"id":22683249,"url":"https://github.com/mtchavez/node-al-papi","last_synced_at":"2025-10-13T20:43:14.120Z","repository":{"id":2942754,"uuid":"3955707","full_name":"mtchavez/node-al-papi","owner":"mtchavez","description":"Node Package for AuthorityLabs Partner API","archived":false,"fork":false,"pushed_at":"2014-07-31T15:10:51.000Z","size":205,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-20T04:09:25.252Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/mtchavez.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}},"created_at":"2012-04-07T04:28:52.000Z","updated_at":"2014-08-02T05:48:32.000Z","dependencies_parsed_at":"2022-09-03T11:00:49.907Z","dependency_job_id":null,"html_url":"https://github.com/mtchavez/node-al-papi","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/mtchavez/node-al-papi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtchavez%2Fnode-al-papi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtchavez%2Fnode-al-papi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtchavez%2Fnode-al-papi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtchavez%2Fnode-al-papi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mtchavez","download_url":"https://codeload.github.com/mtchavez/node-al-papi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtchavez%2Fnode-al-papi/sbom","scorecard":{"id":666446,"data":{"date":"2025-08-11","repo":{"name":"github.com/mtchavez/node-al-papi","commit":"3dc5559b10ad60767bb9b257dbba2007ed845d1e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":1,"reason":"Found 2/13 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"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"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 7 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-21T18:11:04.771Z","repository_id":2942754,"created_at":"2025-08-21T18:11:04.772Z","updated_at":"2025-08-21T18:11:04.772Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279016929,"owners_count":26085911,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"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":[],"created_at":"2024-12-09T21:11:23.063Z","updated_at":"2025-10-13T20:43:14.082Z","avatar_url":"https://github.com/mtchavez.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Node.js AuthorityLabs Partner API Package\n=========================================\n\nA wrapper around the Partner API calls. Allows post, priority post and get calls.\n\n* Github: http://github.com/mtchavez/node-al-papi\n* [![endorse](http://api.coderwall.com/mtchavez/endorsecount.png)](http://coderwall.com/mtchavez)\n\n## Install\n\n    npm install al-papi\n\n## Usage\n\nMake a request object using your api key:\n    \n    // Require al-papi\n    var al = require('al-papi');\n    \n    // Configure using your api-key\n    al.AlConfig('yRR2tB39jStovMy6y6xP');\n    \n    // Make request object to make api calls\n    var req = new al.AlRequest();\n\n### POST\n\nPost your keyword-engine-locale combination to the API:\n\n    req.post({'keyword' : 'Centaur Soirée'}, function(response) {\n\n      console.log(response.statusCode);\n      console.log(response.url);\n      console.log(response.params);\n      \n      if (response.success) {\n        console.log(response.body);\n      }\n      else {\n        console.log(response.errorMessage);\n      }\n    });\n\n### Priority POST\n\nPost your keyword to the priority queue if you need results in a more timely manner:\n\n    req.priority_post({'keyword' : 'Centaur Soirée'}, function(response) {\n\n      console.log(response.statusCode);\n      console.log(response.url);\n      console.log(response.params);\n      \n      if (response.success) {\n        console.log(response.body);\n      }\n      else {\n        console.log(response.errorMessage);\n      }\n    });\n\n### GET\n\nWhen you are ready to get your results you can do a GET request for your keyword-engine-locale combo:\n\n    req.get({'keyword' : 'Centaur Soirée'}, function(response) {\n\n      console.log(response.statusCode);\n      console.log(response.url);\n      console.log(response.params);\n      \n      if (response.success) {\n        console.log(response.body);\n      }\n      else {\n        console.log(response.errorMessage);\n      }\n    });\n\n### Response\n\nWhen making an API request a response object is returned with any errors, http response code and http reponse body.\n\n    req.get({'keyword' : 'Centaur Soirée'}, function(response) {\n\n      console.log(response.statusCode); // Status code of response\n      console.log(response.url);        // The URL used for your request\n      console.log(response.params);     // Original params given\n      \n      // success is a true/false of if the request received a 200 response code\n      if (response.success) {\n        // Body will be the parsed JSON response\n        console.log(response.body);\n      }\n      else {\n        // Error message if one exists\n        console.log(response.errorMessage);\n      }\n    });\n\n## Web Insight\n\n### Description\n\nWeb Insight queue takes a URL for the Partner API to scrape and parse out high level insight about the page\nand return the results to your callback URL passed in or set for your account.\n\n### POST\n\nPost the URL of the page you want to gain insight into and the callback URL knowing when your results are\nready to get.\n\n    req = new al.AlWebInsight();\n    req.post({'url' : 'http://www.qwiki.com', 'callback' : 'http://api.authoritylabs.com/callbacks?from=node'}, function(response) {\n\n      console.log(response.statusCode);\n      console.log(response.url);\n      console.log(response.params);\n      \n      if (response.success) {\n        console.log(response.body);\n      }\n      else {\n        console.log(response.errorMessage);\n      }\n    });\n\n### GET\n\nWhen your results are ready to get you will receive a callback that contains the information on how\nto get the insight on your URL. In the callback you should receive a date_created and time_created to use\nin your get request. You will also use your original URL posted.\n\n    req = new al.AlWebInsight();\n    req.get({'url' : 'http://www.qwiki.com', 'date_created' : '2012-06-14', 'time_created' : '01:50'}, function(response) {\n\n      console.log(response.statusCode);\n      console.log(response.url);\n      console.log(response.params);\n      \n      if (response.success) {\n        console.log(response.body);\n      }\n      else {\n        console.log(response.errorMessage);\n      }\n    });\n\n## License\n\nWritten by Chavez\n\nReleased under the MIT License: http://www.opensource.org/licenses/mit-license.php\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtchavez%2Fnode-al-papi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmtchavez%2Fnode-al-papi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtchavez%2Fnode-al-papi/lists"}