{"id":23160634,"url":"https://github.com/disruptek/gcplat","last_synced_at":"2026-02-27T10:06:44.924Z","repository":{"id":78132206,"uuid":"211361226","full_name":"disruptek/gcplat","owner":"disruptek","description":"Google Cloud Platform (GCP) APIs in Nim","archived":false,"fork":false,"pushed_at":"2020-01-25T05:13:35.000Z","size":17935,"stargazers_count":8,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-18T02:39:07.531Z","etag":null,"topics":["api","client","cloud","computing","google","nim","openapi","platform","rest"],"latest_commit_sha":null,"homepage":"","language":"Nim","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/disruptek.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":"2019-09-27T16:34:24.000Z","updated_at":"2022-12-27T10:35:19.000Z","dependencies_parsed_at":"2023-02-24T07:45:27.735Z","dependency_job_id":null,"html_url":"https://github.com/disruptek/gcplat","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/disruptek/gcplat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/disruptek%2Fgcplat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/disruptek%2Fgcplat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/disruptek%2Fgcplat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/disruptek%2Fgcplat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/disruptek","download_url":"https://codeload.github.com/disruptek/gcplat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/disruptek%2Fgcplat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29890683,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T09:48:51.284Z","status":"ssl_error","status_checked_at":"2026-02-27T09:48:43.992Z","response_time":57,"last_error":"SSL_read: 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","client","cloud","computing","google","nim","openapi","platform","rest"],"created_at":"2024-12-17T23:11:33.578Z","updated_at":"2026-02-27T10:06:42.129Z","avatar_url":"https://github.com/disruptek.png","language":"Nim","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gcplat\nGoogle Cloud Platform (GCP) APIs in Nim\n\n## Work in Progress\n\nHaven't decided how to handle parameters with empty strings, so for now, you need to supply JSON arguments to the `call` as per the fallback https://github.com/disruptek/openapi syntax...\n\n## Supported APIs\n\n[Sadly, only the 180 most popular GCP APIs are supported at this time.](https://github.com/disruptek/gcplat/tree/master/src/gcplat) :cry:\n\n## Example\n\nYour import statement names the APIs you want to use and the versions of same,\nwith any hyphens or periods turned into underscores.\n\n```nim\nimport asyncdispatch\nimport httpclient\nimport httpcore\n\nimport gcplat/firebase_v1beta1  # ie. Firebase v1beta1\n\n# setup authentication with supplied service account credentials\nvar auth = newAuthenticator(\"/some/path/service_account.json\")\n\n# add some scopes\nauth.scope.add \"https://www.googleapis.com/auth/cloud-platform\"\nauth.scope.add \"https://www.googleapis.com/auth/logging.write\"\nauth.scope.add \"https://www.googleapis.com/auth/drive\"\n\nlet\n  request = firebaseProjectsList.call(path=nil, query=nil, header=nil,\n                                      formData=nil, body=nil)\n  response = request.retried()\necho waitfor response.body\n\n# you can optionally refresh your authentication token manually\n# (by default we ensure the token will last at least 10 seconds)\n\n# to make sure this token won't expire in the next 60 seconds\nlet freshFor1min = waitfor authenticate(fresh = 60)\nassert freshFor1min == true\n\n# to fetch a new token that will expire in 15min\nlet lasts15min = waitfor authenticate(lifetime = 15 * 60)\nassert lasts15min == true\n```\n\n## Details\n\nThis project is based almost entirely upon the following:\n\n- OpenAPI Code Generator https://github.com/disruptek/openapi\n\nPatches welcome!\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdisruptek%2Fgcplat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdisruptek%2Fgcplat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdisruptek%2Fgcplat/lists"}