{"id":15736116,"url":"https://github.com/f-f/gogolica","last_synced_at":"2026-01-21T17:31:45.272Z","repository":{"id":68795201,"uuid":"103762549","full_name":"f-f/gogolica","owner":"f-f","description":"Auto-generated Google APIs for Clojure","archived":false,"fork":false,"pushed_at":"2017-10-28T14:24:55.000Z","size":2005,"stargazers_count":2,"open_issues_count":19,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-13T12:17:08.663Z","etag":null,"topics":["clojure","google-cloud","nikolai-vasilievich-gogol"],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/f-f.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":"2017-09-16T15:27:20.000Z","updated_at":"2017-09-30T09:21:28.000Z","dependencies_parsed_at":"2023-02-21T22:45:16.895Z","dependency_job_id":null,"html_url":"https://github.com/f-f/gogolica","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f-f%2Fgogolica","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f-f%2Fgogolica/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f-f%2Fgogolica/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f-f%2Fgogolica/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/f-f","download_url":"https://codeload.github.com/f-f/gogolica/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247615476,"owners_count":20967183,"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","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":["clojure","google-cloud","nikolai-vasilievich-gogol"],"created_at":"2024-10-04T01:21:07.425Z","updated_at":"2026-01-21T17:31:45.231Z","avatar_url":"https://github.com/f-f.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gogolica\n\n\u003cimg src=\"https://upload.wikimedia.org/wikipedia/commons/d/df/N.Gogol_by_A.Ivanov_%281841%2C_Russian_museum%29.jpg\"\ntitle=\"Nikolai Vasilievich Gogol\" align=\"right\" padding=\"5px\" height=\"250px\"\u003e\n\n\u003e Always think of what is useful and not what is beautiful.   \n\u003e Beauty will come of its own accord.\n\u003e\n\u003e *Nikolai Vasilievich Gogol*\n\n\u003e You can't imagine how stupid the whole world has grown nowadays.\n\u003e\n\u003e *Also Nikolai Vasilievich Gogol*\n\n\u003cbr clear=all /\u003e\u003cbr /\u003e\n\n[![CircleCI](https://circleci.com/gh/f-f/gogolica.svg?style=svg)](https://circleci.com/gh/f-f/gogolica)\n\n***Warning: ALPHA STATUS***\n\nGogolica is an auto-generated Clojure bindings library for Google APIs.\n\nThe implemented APIs are the ones provided from the Google Discovery Service's \nJSON description files of the available \"new style\" Google APIs.\n\nThe generator itself and the code it produces are *Alpha*.\n\nSome APIs are alpha/beta, and indicated as such in the namespace \n(e.g., \"gogolica.storage.v1alpha\").\n\n## Available APIs\n\nNone yet.\n\n## Usage\n\n### `gogolica.storage.v1`\n\n```clojure\n(require '[gogolica.storage.v1 :as gcs])\n\n;; Authentication, if you have the env variable GOOGLE_APPLICATION_DEFAULT set,\n;; then your service account key will be read from the path specified in it.\n;; Otherwise you can load it manually:\n(gogolica.core.auth/key-from-file \"path/to/key.json\")\n\n;; List buckets for your project\n(gcs/buckets-list \"my-project-name\" {})\n\n;; List objects for a buckets\n(gcs/objects-list \"my-bucket-name\" {})\n\n;; Create new bucket\n(gcs/buckets-insert {:name \"my-new-bucket-name\"} \"my-project-name\" {})\n\n;; Upload a new object\n(gcs/objects-insert \"/absolute/path/to/file.png\" {} \"my-new-bucket-name\" {:name \"my-file-name\"})\n\n;; Download the new object - metadata\n(gcs/objects-get \"my-new-bucket-name\" \"my-file-name\" {})\n\n;; Download the new object - data as bytearray\n(gcs/objects-get \"my-new-bucket-name\" \"my-file-name\" {:alt \"media\"})\n```\n\n## Developing\n\n### Getting the JSON models for Google APIs\n\nThis will clone the Google auto-generated Go library in the `vendor` directory,\nand copy over their versioned json models to the `model` folder.\n\n```bash\n./script/copy-models\n```\n\n### TODO\n\n\u003e TODO\n\n## Testing\n\n### Unit tests (test pure functions)\n\n```bash\nlein test\n```\n\n### Integration tests (test hitting APIs)\n\n\u003e TODO\n\n## License\n\nDistributed under the Eclipse Public License either version 1.0 or (at\nyour option) any later version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff-f%2Fgogolica","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ff-f%2Fgogolica","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff-f%2Fgogolica/lists"}