{"id":31835093,"url":"https://github.com/codenoble/google-syncinator-api-client","last_synced_at":"2025-10-12T00:56:16.389Z","repository":{"id":36358450,"uuid":"40663234","full_name":"codenoble/google-syncinator-api-client","owner":"codenoble","description":"API consuming models for the Google Syncinator project","archived":false,"fork":false,"pushed_at":"2015-12-07T10:02:15.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T23:35:00.503Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"biola/google-syncinator-api-client","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codenoble.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-13T14:29:36.000Z","updated_at":"2015-08-13T14:29:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"ab93169d-fe04-4744-a9b8-ab4f0b714736","html_url":"https://github.com/codenoble/google-syncinator-api-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codenoble/google-syncinator-api-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenoble%2Fgoogle-syncinator-api-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenoble%2Fgoogle-syncinator-api-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenoble%2Fgoogle-syncinator-api-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenoble%2Fgoogle-syncinator-api-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codenoble","download_url":"https://codeload.github.com/codenoble/google-syncinator-api-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenoble%2Fgoogle-syncinator-api-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279009509,"owners_count":26084609,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-10-12T00:56:15.355Z","updated_at":"2025-10-12T00:56:16.376Z","avatar_url":"https://github.com/codenoble.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"GoogleSyncinator API Client [![Build Status](https://travis-ci.org/biola/google-syncinator-api-client.svg?branch=master)](https://travis-ci.org/biola/google-syncinator-api-client)\n==================\n\nGoogle Syncinator API Client is a client to the [google-syncinator](https://github.com/biola/google-syncinator) API (duh!)\n\nInstalling\n----------\n\nAdd `gem 'google_syncinator_api_client'` to your `Gemfile` and run `bundle`\n\nConfiguration\n-------------\n\n```ruby\nGoogleSyncinatorAPIClient.configure do |config|\n  # Optional:\n  # config.scheme = 'http'\n  # config.host = 'localhost'\n  # config.script_name = nil\n  # config.version = 'v1'\n\n  # Required:\n  config.access_id = '**************'\n  config.secret_key = '*****************************************'\nend\n```\n\nGetting Credentials\n-------------------\n\nTo create a google-syncinator client and get an `access_id` and `secret_key`, see the [google-syncinator README](https://github.com/biola/google-syncinator/blob/master/README.md).\n\nUsage\n-----\n\n### Example Syncinator\n\n```ruby\nrequire 'google_syncinator_api_client'\nrequire 'multi_json'\n\nemails_api = GoogleSyncinator::APIClient::Emails.new\nemails = emails_api.index.perform.parse\nemails_api.show(id: emails.first['id']).perform.parse\n\nperson_emails_api = GoogleSyncinator::APIClient::PersonEmails.new\nperson_email = person_emails_api.create(uuid: 'TROGDIR_PERSON_UUID', address: 'test@example.com').perform.parse\nperson_emails_api.show(id: person_email['id']).perform\n\nalias_emails_api = GoogleSyncinator::APIClient::AliasEmails.new\nalias_email = alias_emails_api.create(account_email_id: person_email['id'], address: 'test@example.com').perform.parse\nalias_emails_api.show(id: alias_email['id']).perform\n\ndeprovision_schedules_api = GoogleSyncinator::APIClient::DeprovisionSchedules.new\ndeprovision_schedule = deprovision_schedules_api.create(email_id: person_email['id'], action: :suspend, scheduled_for: Time.now).perform.parse\ndeprovision_schedules_api.update(email_id: person_email['id'], id: deprovision_schedule['id'], canceled: true).perform\ndeprovision_schedules_api.destroy(email_id: person_email['id'], id: deprovision_schedule['id']).perform\n\nexclusions_api = GoogleSyncinator::APIClient::Exclusions.new\nexclusion_api = exclusions_api.create(email_id: person_email['id'], creator_uuid: 'TROGDIR_PERSON_UUID', starts_at: Time.now).perform.parse\nexclusions_api.destroy(email_id: person_email['id'], id: exclusion_api['id']).perform\n```\n\nLicense\n-------\n[MIT](https://github.com/biola/google-syncinator-api-client/blob/master/MIT-LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodenoble%2Fgoogle-syncinator-api-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodenoble%2Fgoogle-syncinator-api-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodenoble%2Fgoogle-syncinator-api-client/lists"}