{"id":15101959,"url":"https://github.com/chrdek/nuget-api-dataget","last_synced_at":"2026-01-27T11:32:41.319Z","repository":{"id":206199471,"uuid":"715863898","full_name":"chrdek/nuget-api-dataget","owner":"chrdek","description":"Used for retrieving external NuGet api data in xml or json format (v2 or v3 api)","archived":false,"fork":false,"pushed_at":"2023-11-08T11:47:49.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-29T18:56:51.050Z","etag":null,"topics":["nuget","nuget-package","rest-api","restful-api","yaml"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chrdek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-08T01:34:18.000Z","updated_at":"2024-10-24T14:10:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"b9186730-bb2b-4875-ba2d-ebea8453b71d","html_url":"https://github.com/chrdek/nuget-api-dataget","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"5601f8c005b73442067ebc3af1a2c9f8ad6c2b77"},"previous_names":["chrdek/nuget-api-dataget"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/chrdek/nuget-api-dataget","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrdek%2Fnuget-api-dataget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrdek%2Fnuget-api-dataget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrdek%2Fnuget-api-dataget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrdek%2Fnuget-api-dataget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrdek","download_url":"https://codeload.github.com/chrdek/nuget-api-dataget/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrdek%2Fnuget-api-dataget/sbom","scorecard":{"id":279016,"data":{"date":"2025-08-11","repo":{"name":"github.com/chrdek/nuget-api-dataget","commit":"5601f8c005b73442067ebc3af1a2c9f8ad6c2b77"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.7,"checks":[{"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":"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":0,"reason":"Found 0/4 approved changesets -- score normalized to 0","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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/nugetapi_update.yml:1","Info: no jobLevel write permissions found"],"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"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 'main'"],"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"}}]},"last_synced_at":"2025-08-17T15:15:18.093Z","repository_id":206199471,"created_at":"2025-08-17T15:15:18.093Z","updated_at":"2025-08-17T15:15:18.093Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28812394,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T07:41:26.337Z","status":"ssl_error","status_checked_at":"2026-01-27T07:41:08.776Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["nuget","nuget-package","rest-api","restful-api","yaml"],"created_at":"2024-09-25T18:43:41.545Z","updated_at":"2026-01-27T11:32:41.304Z","avatar_url":"https://github.com/chrdek.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# nuget-api-dataget\nReturn an xml or json response from NuGet Api (APIv2, v3) by using NuGet owner's name and stores the result in a predefined Gist in Base64 Data Format. More info is displayed in the 'Main Workflow File' example below.\n\n\n## Inputs\n\n|Name|Type|Description|\n|---|---|---|\n|`ownerName`|string|The ownername of the nuget package registry to retrieve data from|\n|`isXmlResp`|string|In 'secrets' of the repository you intend to run this on, set only value of TRUE or FALSE|\n|`GIST_ID`|string|The ID of the predefined Gist to use when updating Gist content with the retrieved data|\n|`ACTION_TOKEN`|string|In 'secrets' of the repository you intend to run this on, the GitHub API Token|\n\n\u003cbr/\u003e\n\n### About - Access tokens\nTo run this action the access token must have scope `admin:org` on PAT  or `owner:repo` access levels.\n\n\n## Outputs\n\n|Name|Type|Description|\n|---|---|---|\n|`Raw API v2 XML Nuget Entries Response`|string|A Base64-Encoded string of xml response for NuGet v2 API listed packages|\n|`Raw API v3 Json Nuget Entries Response`|string|A Base64-Encoded string of json response for NuGet v3 API listed packages|\n\n\n\u003cbr/\u003e\u003cbr/\u003e\n\n### __Note: The response requires a Gist for the response to be stored appropriately. Action is run at end of each week in the example.__\n\n\n\u003cbr/\u003e\n\n\n\n## How it works\nMain Workflow File:\n``` yaml\nname: Weekly Content Updates\n\non:\n  schedule:\n  - cron: \"0 14 * * 0\"\n\njobs:\n  weeklycontentupdate:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Set updated content (XML, JSON)\n      id: setUpdatedContent\n      env:\n        ownerName: your_nuget_username\n        isXmlResp: ${{ secrets.IS_XML }}\n      run: |\n        if [ ${{ env.isXmlResp }} == 'TRUE' ]; then\n          echo \"NUG_RESPONSE\u003c\u003cEOF\" \u003e\u003e $GITHUB_ENV\n          echo $(curl --no-progress-meter 'https://www.nuget.org/api/v2/Search()?$filter=IsLatestVersion\u0026searchTerm=%27owner%3A${{ env.ownerName }}%27\u0026targetFramework=%27%27\u0026includePrerelease=false\u0026$skip=0\u0026semVerLevel=2.0.0' | base64) | sed 's/ //g' \u003e\u003e $GITHUB_ENV\n          echo \"EOF\" \u003e\u003e $GITHUB_ENV\n        else\n          echo \"NUG_RESPONSE\u003c\u003cEOF\" \u003e\u003e $GITHUB_ENV\n          echo $(curl --no-progress-meter 'https://api-v2v3search-0.nuget.org/query?q=${{ env.ownerName }}\u0026prerelease=false' | base64) | sed 's/ //g' \u003e\u003e $GITHUB_ENV\n          echo \"EOF\" \u003e\u003e $GITHUB_ENV\n        fi\n    - name: Update accesible Gists\n      id: updateGists\n      env:\n        GIST_ID: your_predefined_gist_id\n        ACTION_TOKEN: ${{ secrets.GH_ACTION }}\n        RESPONSE: \"${{ env.NUG_RESPONSE }}\"\n      run: |\n        curl --no-progress-meter  -L -X PATCH -H \"Accept: application/vnd.github+json\" -H \"Authorization: Bearer $ACTION_TOKEN\" -H \"X-Github-Api-Version: 2022-11-28\" https://api.github.com/gists/${{ env.GIST_ID }} -d '{\"description\":\"rssdata\",\"files\":{\"test_gst.txt\":{\"content\":\"${{ env.RESPONSE }}\" }}}'\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrdek%2Fnuget-api-dataget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrdek%2Fnuget-api-dataget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrdek%2Fnuget-api-dataget/lists"}