{"id":26820451,"url":"https://github.com/nmrshll/google-photos-api-client-go","last_synced_at":"2026-03-12T05:31:16.205Z","repository":{"id":57484288,"uuid":"143772270","full_name":"nmrshll/google-photos-api-client-go","owner":"nmrshll","description":"Google photos api client in go","archived":false,"fork":false,"pushed_at":"2019-07-30T06:36:52.000Z","size":16,"stargazers_count":37,"open_issues_count":3,"forks_count":12,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-24T03:44:28.185Z","etag":null,"topics":["api","api-client","go","golang","google","google-photos","google-photos-cli","photos"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/nmrshll.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":"2018-08-06T19:16:27.000Z","updated_at":"2025-03-11T04:17:07.000Z","dependencies_parsed_at":"2022-08-26T14:22:36.882Z","dependency_job_id":null,"html_url":"https://github.com/nmrshll/google-photos-api-client-go","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nmrshll/google-photos-api-client-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmrshll%2Fgoogle-photos-api-client-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmrshll%2Fgoogle-photos-api-client-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmrshll%2Fgoogle-photos-api-client-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmrshll%2Fgoogle-photos-api-client-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nmrshll","download_url":"https://codeload.github.com/nmrshll/google-photos-api-client-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmrshll%2Fgoogle-photos-api-client-go/sbom","scorecard":{"id":690995,"data":{"date":"2025-08-11","repo":{"name":"github.com/nmrshll/google-photos-api-client-go","commit":"3dac07f1b07f249ac4a9805b9d60afe0f68c34b2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"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":"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":"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":"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":"Code-Review","score":1,"reason":"Found 1/8 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":"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":"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":"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":"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":"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 6 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-22T02:18:05.534Z","repository_id":57484288,"created_at":"2025-08-22T02:18:05.534Z","updated_at":"2025-08-22T02:18:05.534Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30416310,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T04:41:02.746Z","status":"ssl_error","status_checked_at":"2026-03-12T04:40:12.571Z","response_time":114,"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":["api","api-client","go","golang","google","google-photos","google-photos-cli","photos"],"created_at":"2025-03-30T06:32:25.410Z","updated_at":"2026-03-12T05:31:16.189Z","avatar_url":"https://github.com/nmrshll.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Go Report Card](https://goreportcard.com/badge/github.com/nmrshll/gphotos-uploader-api-client-go)](https://goreportcard.com/report/github.com/nmrshll/gphotos-uploader-api-client-go)\n\n# Google photos API client (Go library)\nThe [official google photos client](https://google.golang.org/api/photoslibrary/v1) doesn't have upload functionality, this repo aims to complete it with upload functionality and improve ease of use for classic use cases.   \n\nIt contains three packages, [github.com/nmrshll/google-photos-api-client-go/lib-gphotos](https://github.com/nmrshll/google-photos-api-client-go/tree/master/lib-gphotos) simply wraps the official library to offer the same functionality plus upload,\nthe two other packages try to make it easier to use in classic cases:    \n- [noserver-gphotosclient](github.com/nmrshll/google-photos-api-client-go/noserver-gphotosclient) for CLI tool or desktop/mobile app (when your app is fully client-side and doesn't have its own server-side part): [examples]()    \n- [server-gphotosclient](github.com/nmrshll/google-photos-api-client-go/server-gphotosclient) for classic web apps that have a server side: [examples]()\n\n# Quick start\n\nDownload using `go get github.com/nmrshll/google-photos-api-client-go`\n\nThen use this way:\n\n#### In a CLI tool or desktop/mobile app (when your app is fully client-side and doesn't have its own server-side part):    \n\n[embedmd]:# (./.docs/examples/no-server/noserver.go /func main/ $)\n```go\nfunc main() {\n\t// ask the user to authenticate on google in the browser\n\tphotosClient, err := gphotosclient.NewClient(\n\t\tgphotosclient.AuthenticateUser(\n\t\t\tgphotoslib.NewOAuthConfig(gphotoslib.APIAppCredentials{\n\t\t\t\tClientID:     \"________________\",\n\t\t\t\tClientSecret: \"____________________\"},\n\t\t\t),\n\t\t),\n\t)\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\t_, err = photosClient.UploadFile(\"/path/to/file\")\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n}\n```\n\n#### on the server side:    \n\n[embedmd]:# (./.docs/examples/server-side/serverside.go /func main/ $)\n```go\nfunc main() {\n\tfmt.Println(\"Hello world !\")\n}\n```\n\n# More Examples\n\n[server-side]():\n- []()\n\n[no server, all client side (desktop,cli,mobile,...)]():\n- []()\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnmrshll%2Fgoogle-photos-api-client-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnmrshll%2Fgoogle-photos-api-client-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnmrshll%2Fgoogle-photos-api-client-go/lists"}