{"id":23473002,"url":"https://github.com/caltechlibrary/dataciteapi","last_synced_at":"2026-02-07T16:31:04.668Z","repository":{"id":57524002,"uuid":"140597923","full_name":"caltechlibrary/dataciteapi","owner":"caltechlibrary","description":"A Golang package and command line utility for working with the public DataCite API","archived":false,"fork":false,"pushed_at":"2025-08-06T22:02:21.000Z","size":485,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-12-30T15:11:29.356Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/caltechlibrary.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":"codemeta.json","zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-07-11T15:52:42.000Z","updated_at":"2025-08-06T22:02:16.000Z","dependencies_parsed_at":"2024-02-27T00:23:25.849Z","dependency_job_id":"baa22811-fea8-4240-a513-65b9f8352daf","html_url":"https://github.com/caltechlibrary/dataciteapi","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/caltechlibrary/dataciteapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caltechlibrary%2Fdataciteapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caltechlibrary%2Fdataciteapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caltechlibrary%2Fdataciteapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caltechlibrary%2Fdataciteapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caltechlibrary","download_url":"https://codeload.github.com/caltechlibrary/dataciteapi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caltechlibrary%2Fdataciteapi/sbom","scorecard":{"id":263210,"data":{"date":"2025-08-11","repo":{"name":"github.com/caltechlibrary/dataciteapi","commit":"13c0937b35755226ab51edbcaadd71fbf489f1bf"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/30 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":"Maintained","score":3,"reason":"4 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":["Info: Possibly incomplete results: error parsing shell code: a command can only contain words and redirects; encountered (: codemeta-bash-installer.tmpl:0"],"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":"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":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.1.0 not signed: https://api.github.com/repos/caltechlibrary/dataciteapi/releases/150854613","Warn: release artifact v1.0.3 not signed: https://api.github.com/repos/caltechlibrary/dataciteapi/releases/149808742","Warn: release artifact v1.0.2 not signed: https://api.github.com/repos/caltechlibrary/dataciteapi/releases/143717152","Warn: release artifact v1.0.1 not signed: https://api.github.com/repos/caltechlibrary/dataciteapi/releases/50220009","Warn: release artifact v1.0.0 not signed: https://api.github.com/repos/caltechlibrary/dataciteapi/releases/46277695","Warn: release artifact v1.1.0 does not have provenance: https://api.github.com/repos/caltechlibrary/dataciteapi/releases/150854613","Warn: release artifact v1.0.3 does not have provenance: https://api.github.com/repos/caltechlibrary/dataciteapi/releases/149808742","Warn: release artifact v1.0.2 does not have provenance: https://api.github.com/repos/caltechlibrary/dataciteapi/releases/143717152","Warn: release artifact v1.0.1 does not have provenance: https://api.github.com/repos/caltechlibrary/dataciteapi/releases/50220009","Warn: release artifact v1.0.0 does not have provenance: https://api.github.com/repos/caltechlibrary/dataciteapi/releases/46277695"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"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"}}]},"last_synced_at":"2025-08-17T11:18:54.041Z","repository_id":57524002,"created_at":"2025-08-17T11:18:54.048Z","updated_at":"2025-08-17T11:18:54.048Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29199736,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T16:28:23.579Z","status":"ssl_error","status_checked_at":"2026-02-07T16:28:22.566Z","response_time":63,"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":[],"created_at":"2024-12-24T17:14:41.550Z","updated_at":"2026-02-07T16:31:04.654Z","avatar_url":"https://github.com/caltechlibrary.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\ndataciteapi\n===========\n\nThis is a go package for working with the DataCite API. It is inspired by\nwork my colleague Tom Morrel has done in Python.  This package is meant \nto follow the guidelines for interacting with the public API at \napi.datacite.org. It also follows the same form as the golang \n[CrossRef API](https://github.com/caltechlibrary/crossrefapi) \ndeveloped previously at Caltech Library.\n\nGo package example\n------------------\n\n```go\n    appName := path.Base(os.Args[0])\n    client, err := dataciteapi.NewDataCiteClient(appName, \"jane.doe@library.example.edu\")\n    if err != nil {\n        // handle error...\n    }\n    works, err := client.Works(\"10.1037/0003-066x.59.1.29\")\n   \n    if err != nil {\n        // handle error...\n    }\n    // continue processing your \"works\" result...\n```\n\nCommand line example\n--------------------\n\n```\n    dataciteapi -mailto=\"jane.doe@library.example.edu\" works \"10.1037/0003-066x.59.1.29\"\n```\n\nReference\n---------\n\n+ [DataCite API Docs](https://support.datacite.org/docs/api)\n+ [DataCite Metadata Schema v4.1](http://schema.datacite.org/meta/kernel-4.1/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaltechlibrary%2Fdataciteapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaltechlibrary%2Fdataciteapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaltechlibrary%2Fdataciteapi/lists"}