{"id":20494867,"url":"https://github.com/apiko-dev/meteor-google-prediction","last_synced_at":"2025-04-13T17:43:36.961Z","repository":{"id":88209985,"uuid":"42929438","full_name":"apiko-dev/meteor-google-prediction","owner":"apiko-dev","description":"Google Prediction API v1.6 Meteor client","archived":false,"fork":false,"pushed_at":"2017-04-04T19:53:24.000Z","size":13,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-03-27T08:45:10.263Z","etag":null,"topics":["google-prediction-api","javascript","meteor"],"latest_commit_sha":null,"homepage":"https://atmospherejs.com/jss/meteor-google-prediction","language":"JavaScript","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/apiko-dev.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":"2015-09-22T11:23:15.000Z","updated_at":"2023-04-06T10:30:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"b0b3ff87-d60e-4f3a-9ed5-3d4dc4e8f6f2","html_url":"https://github.com/apiko-dev/meteor-google-prediction","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/apiko-dev%2Fmeteor-google-prediction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apiko-dev%2Fmeteor-google-prediction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apiko-dev%2Fmeteor-google-prediction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apiko-dev%2Fmeteor-google-prediction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apiko-dev","download_url":"https://codeload.github.com/apiko-dev/meteor-google-prediction/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248756440,"owners_count":21156767,"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":["google-prediction-api","javascript","meteor"],"created_at":"2024-11-15T17:43:37.406Z","updated_at":"2025-04-13T17:43:36.955Z","avatar_url":"https://github.com/apiko-dev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Prediction API Client\n\nGoogle Prediction API v1.6 client for Meteor.\n\n## Quick example\n\n```js\n//initialize client\nvar authOptions = {\n  serviceEmail: CloudSettings.SERVICE_EMAIL,\n  pemFile: CloudSettings.PEM_FILE, //PEM file name located in `/private` directory\n  projectName: 'MyProjectName' //name of your project in google developer console\n};\nvar googlePrediction = new GooglePrediction(authOptions); //create new client instance\n\n\n//training new model\nvar insertResult = googlePrediction.insert(\"MyModel\",\"GoogleCloudStorageBucketName\",\"training-data-file.csv\");\n\n\n//check model status\nvar modelStatus = googlePrediction.get(\"MyModel\");\n\n\n//list available models\nvar models = googlePrediction.list();\n\n\n//make prediction\nvar inputData = [25,'foo',30,'bar'];\nvar result = googlePrediction.predict(\"MyModel\", inputData);//access to prediction API\nconsole.log('Predicted Value: ', result.outputValue);\n```\n\n## Supported methods\n\n* analyze\n* delete\n* get\n* insert\n* list\n* predict\n* update\n\nAlso, see [full API Reference](https://cloud.google.com/prediction/docs/reference/v1.6/)\n\n\n## Getting PEM file\n\nThis package is built on top of `google-oauth-jwt` npm package. Here's [detailed instruction](https://www.npmjs.com/package/google-oauth-jwt#creating-a-service-account-using-the-google-developers-console) how to generate `.pem` file.\n\n-------------\n\n\nMade by [![Custom Software Development Company](https://s3-eu-west-1.amazonaws.com/jssolutions/github/jss_xs.png)](http://jssolutionsdev.com/?github=Databazel) - [Custom Software Development Company](http://jssolutionsdev.com/?github=Databazel)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapiko-dev%2Fmeteor-google-prediction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapiko-dev%2Fmeteor-google-prediction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapiko-dev%2Fmeteor-google-prediction/lists"}