npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

cloudsml-client

v1.15.2

Published

CloudSML_is_a_next_generation_Data_Mining_platform_by_Salford_Systems_This_is_an_online_and_interactive_documentation_for_CloudSML_RESTful_API__Here_you_can_check_out_what_kind_of_information_you_can_have_and_what_actions_you_can_do_You_can_generate_a_cli

Downloads

97

Readme

cloudsml-client

CloudSML - JavaScript client for cloudsml-client CloudSML is a next-generation Data Mining platform by Salford Systems. This is an online and interactive documentation for CloudSML RESTful API. Here you can check out what kind of information you can have and what actions you can do. You can generate a client library from the provided OpenAPI Specification using codegen tool. This SDK is automatically generated by the Swagger Codegen project:

  • API version: 1.15.2
  • Package version: 1.15.2
  • Build package: io.swagger.codegen.languages.JavascriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install cloudsml-client --save

git

If the library is hosted at a git repository, e.g. https://github.com/GIT_USER_ID/GIT_REPO_ID then install it via:

    npm install GIT_USER_ID/GIT_REPO_ID --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Getting Started

Please follow the installation instruction and execute the following JS code:

var CloudSML = require('cloudsml-client');

var defaultClient = CloudSML.ApiClient.instance;

// Configure OAuth2 access token for authorization: oauth2_password
var oauth2_password = defaultClient.authentications['oauth2_password'];
oauth2_password.accessToken = "YOUR ACCESS TOKEN"

var api = new CloudSML.AuthApi()

var defaultScopes = ["defaultScopes_example"]; // {[String]} 

var opts = { 
  'redirectUris': ["redirectUris_example"] // {[String]} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createOauthClient(defaultScopes, opts, callback);

Documentation for API Endpoints

All URIs are relative to https://localhost/api/v1

Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- CloudSML.AuthApi | createOauthClient | POST /auth/oauth2_clients/ | Create a new OAuth2 Client CloudSML.AuthApi | getOAuth2Clients | GET /auth/oauth2_clients/ | List of OAuth2 Clients CloudSML.AuthApi | optionsOAuth2Clients | OPTIONS /auth/oauth2_clients/ | Check which methods are allowed CloudSML.DataApi | createDataSource | POST /data/sources/ | Add a new data source CloudSML.DataApi | createDataTransformation | POST /data/transformations/ | Make a new data transformation CloudSML.DataApi | createDataTransformationColumn | POST /data/transformations/{data_transformation_id}/columns/ | Create DataTransformationColumn CloudSML.DataApi | deleteDataSourceById | DELETE /data/sources/{data_source_id} | Delete a data source by ID CloudSML.DataApi | deleteDataTransformationById | DELETE /data/transformations/{data_transformation_id} | Delete a data transformation by ID CloudSML.DataApi | getDataSourceById | GET /data/sources/{data_source_id} | Get data source details by ID CloudSML.DataApi | getDataSources | GET /data/sources/ | List of data sources CloudSML.DataApi | getDataTransformationById | GET /data/transformations/{data_transformation_id} | Get data transformation details by ID CloudSML.DataApi | getDataTransformationColumns | GET /data/transformations/{data_transformation_id}/columns/ | Get data transformation columns by data transformation ID CloudSML.DataApi | getDataTransformationMaterializationById | GET /data/transformations/{data_transformation_id}/data.{export_format} | Preview Data Transformation CloudSML.DataApi | getDataTransformations | GET /data/transformations/ | List of data transformations CloudSML.DataApi | getExportDataTransformationById | GET /data/transformations/{data_transformation_id}.{export_format} | Get Data Transformation in specified format CloudSML.DataApi | optionsDataSourceById | OPTIONS /data/sources/{data_source_id} | Check which methods are allowed CloudSML.DataApi | optionsDataSources | OPTIONS /data/sources/ | Check which methods are allowed CloudSML.DataApi | optionsDataTransformationById | OPTIONS /data/transformations/{data_transformation_id} | Check which methods are allowed CloudSML.DataApi | optionsDataTransformationColumns | OPTIONS /data/transformations/{data_transformation_id}/columns/ | Check which methods are allowed CloudSML.DataApi | optionsDataTransformationMaterializationById | OPTIONS /data/transformations/{data_transformation_id}/data.{export_format} | Check which methods are allowed CloudSML.DataApi | optionsDataTransformations | OPTIONS /data/transformations/ | Check which methods are allowed CloudSML.DataApi | optionsExportDataTransformationById | OPTIONS /data/transformations/{data_transformation_id}.{export_format} | Check which methods are allowed CloudSML.DataApi | optionsMaterializedDataTransformationById | OPTIONS /data/transformations/exported/{materialized_data_transformation_id}/ | Check which methods are allowed CloudSML.DataApi | patchDataSourceById | PATCH /data/sources/{data_source_id} | Modify data source details by ID CloudSML.DataApi | patchDataTransformationById | PATCH /data/transformations/{data_transformation_id} | Modify data transformation details by ID CloudSML.DataApi | patchMaterializedDataTransformationById | PATCH /data/transformations/exported/{materialized_data_transformation_id}/ | Patch MaterializedDataTransformation to change status and put proper SeaweedFS File ID CloudSML.Predictive_analyticsApi | createPipeline | POST /predictive_analytics/pipelines/ | Create a new pipeline CloudSML.Predictive_analyticsApi | deletePipelineById | DELETE /predictive_analytics/pipelines/{pipeline_id} | Delete pipeline by ID CloudSML.Predictive_analyticsApi | deletePredictiveModelById | DELETE /predictive_analytics/models/{predictive_model_id} | Delete a predictive model by ID CloudSML.Predictive_analyticsApi | fitPredictiveModel | POST /predictive_analytics/models/ | Build a new predictive model CloudSML.Predictive_analyticsApi | getPipelineById | GET /predictive_analytics/pipelines/{pipeline_id} | Get pipeline by it's ID CloudSML.Predictive_analyticsApi | getPipelines | GET /predictive_analytics/pipelines/ | List of pipelines CloudSML.Predictive_analyticsApi | getPredictiveModelById | GET /predictive_analytics/models/{predictive_model_id} | Get predictive model details by ID CloudSML.Predictive_analyticsApi | getPredictiveModelExportById | GET /predictive_analytics/models/{predictive_model_id}.{export_format} | Export a model CloudSML.Predictive_analyticsApi | getPredictiveModelOptimalPerformanceStats | GET /predictive_analytics/models/{predictive_model_id}/optimal_performance_stats | Get Optimal Performance Stats for specific Predictive Model by its ID CloudSML.Predictive_analyticsApi | getPredictiveModelPerformanceStats | GET /predictive_analytics/models/{predictive_model_id}/performance_stats | Get Performance Stats for specific Predictive Model by its ID CloudSML.Predictive_analyticsApi | getPredictiveModels | GET /predictive_analytics/models/ | List of predictive models CloudSML.Predictive_analyticsApi | optionsExportedPredictiveModelById | OPTIONS /predictive_analytics/models/exported_predictive_model/{exported_predictive_model_id} | Check which methods are allowed CloudSML.Predictive_analyticsApi | optionsPipelineById | OPTIONS /predictive_analytics/pipelines/{pipeline_id} | Check which methods are allowed CloudSML.Predictive_analyticsApi | optionsPipelines | OPTIONS /predictive_analytics/pipelines/ | Check which methods are allowed CloudSML.Predictive_analyticsApi | optionsPredictiveModelById | OPTIONS /predictive_analytics/models/{predictive_model_id} | Check which methods are allowed CloudSML.Predictive_analyticsApi | optionsPredictiveModelExportById | OPTIONS /predictive_analytics/models/{predictive_model_id}.{export_format} | Check which methods are allowed CloudSML.Predictive_analyticsApi | optionsPredictiveModelOptimalPerformanceStats | OPTIONS /predictive_analytics/models/{predictive_model_id}/optimal_performance_stats | Check which methods are allowed CloudSML.Predictive_analyticsApi | optionsPredictiveModelPerformanceStats | OPTIONS /predictive_analytics/models/{predictive_model_id}/performance_stats | Check which methods are allowed CloudSML.Predictive_analyticsApi | optionsPredictiveModels | OPTIONS /predictive_analytics/models/ | Check which methods are allowed CloudSML.Predictive_analyticsApi | patchExportedPredictiveModelById | PATCH /predictive_analytics/models/exported_predictive_model/{exported_predictive_model_id} | Patch ExportedPredictiveModel to change status and put proper SeeweedFS File ID CloudSML.Predictive_analyticsApi | patchPipelineById | PATCH /predictive_analytics/pipelines/{pipeline_id} | Modify pipeline by ID CloudSML.Predictive_analyticsApi | patchPredictiveModelById | PATCH /predictive_analytics/models/{predictive_model_id} | Modify predictive model details by ID CloudSML.ScoringsApi | deleteScoringById | DELETE /scorings/{scoring_id} | Delete a scoring by ID CloudSML.ScoringsApi | getScoringById | GET /scorings/{scoring_id} | Get scoring details by ID CloudSML.ScoringsApi | getScorings | GET /scorings/ | List of scorings CloudSML.ScoringsApi | optionsScoringById | OPTIONS /scorings/{scoring_id} | Check which methods are allowed CloudSML.ScoringsApi | optionsScorings | OPTIONS /scorings/ | Check which methods are allowed CloudSML.ScoringsApi | patchScoringById | PATCH /scorings/{scoring_id} | Modify scoring details by ID CloudSML.ScoringsApi | scoreModel | POST /scorings/ | Score a model CloudSML.UsersApi | createUser | POST /users/ | Create a new user CloudSML.UsersApi | getUserById | GET /users/{user_id} | Get user details by ID CloudSML.UsersApi | getUserMe | GET /users/me | Get current user details CloudSML.UsersApi | getUserSignupForm | GET /users/signup_form | Get signup form keys CloudSML.UsersApi | getUsers | GET /users/ | List of users CloudSML.UsersApi | optionsUserById | OPTIONS /users/{user_id} | Check which methods are allowed CloudSML.UsersApi | optionsUserMe | OPTIONS /users/me | Check which methods are allowed CloudSML.UsersApi | optionsUserSignupForm | OPTIONS /users/signup_form | Check which methods are allowed CloudSML.UsersApi | optionsUsers | OPTIONS /users/ | Check which methods are allowed CloudSML.UsersApi | patchUserById | PATCH /users/{user_id} | Patch user details by ID CloudSML.WorkspacesApi | addWorkspaceMember | POST /workspaces/{workspace_id}/members/ | Add a new member to a workspace CloudSML.WorkspacesApi | createWorkspace | POST /workspaces/ | Create a new workspace CloudSML.WorkspacesApi | deleteWorkspaceById | DELETE /workspaces/{workspace_id} | Delete a workspace by ID CloudSML.WorkspacesApi | deleteWorkspaceMemberById | DELETE /workspaces/{workspace_id}/members/{user_id} | Remove a member from a workspace CloudSML.WorkspacesApi | getWorkspaceById | GET /workspaces/{workspace_id} | Get workspace details by ID CloudSML.WorkspacesApi | getWorkspaceMembers | GET /workspaces/{workspace_id}/members/ | Get workspace members by workspace ID CloudSML.WorkspacesApi | getWorkspaces | GET /workspaces/ | List of workspaces CloudSML.WorkspacesApi | optionsWorkspaceById | OPTIONS /workspaces/{workspace_id} | Check which methods are allowed CloudSML.WorkspacesApi | optionsWorkspaceMemberById | OPTIONS /workspaces/{workspace_id}/members/{user_id} | Check which methods are allowed CloudSML.WorkspacesApi | optionsWorkspaceMembers | OPTIONS /workspaces/{workspace_id}/members/ | Check which methods are allowed CloudSML.WorkspacesApi | optionsWorkspaces | OPTIONS /workspaces/ | Check which methods are allowed CloudSML.WorkspacesApi | patchWorkspaceById | PATCH /workspaces/{workspace_id} | Patch workspace details by ID

Documentation for Models

Documentation for Authorization

oauth2_password

  • Type: OAuth
  • Flow: password
  • Authorization URL:
  • Scopes:
    • pipelines:read: Provide access to pipelines
    • auth:write: Provide write access to auth details
    • pipelines:write: Provide write access to pipelines
    • data_sources:read: Provide access to data sources
    • scorings:write: Provide write access to scorings
    • users:write: Provide write access to user details
    • users:read: Provide access to user details
    • scorings:read: Provide access to scorings
    • workspaces:read: Provide access to workspace details
    • data_sources:write: Provide write access to data sources
    • data_transformations:write: Provide write access to data transformations
    • workspaces:write: Provide write access to workspace details
    • data_transformations:read: Provide access to data transformations
    • predictive_models:read: Provide access to predictive models
    • predictive_models:write: Provide write access to predictive models
    • auth:read: Provide access to auth details