<commit_before># rsc - A generic RightScale API client
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/rightscale/rsc/blob/master/LICENSE) [![Godoc](https://godoc.org/github.com/rightscale/rsc?status.svg)](http://godoc.org/github.com/rightscale/rsc)

Master
[![Build Status](https://travis-ci.org/rightscale/rsc.svg?branch=master)](https://travis-ci.org/rightscale/rsc)

v9.0.0
[![Build Status](https://travis-ci.org/rightscale/rsc.svg?branch=v9.0.0)](https://travis-ci.org/rightscale/rsc)

`rsc` provides both a command line tool and a go package for interacting with the RightScale APIs.
The currently supported APIs are the RightScale Cloud Management API 1.5 and 1.6 APIs, the
RightScale Self-Service 1.0 APIs (latest version for this product) and the RightLink10 APIs exposed
by the RightLink10 agent. The RightScale APIs reference can be found on the
[RightScale docs](http://docs.rightscale.com/api/) site.

`rsc` can be used in one of two ways:

* as a command line tool
* as a way to make API requests to RightScale programmatically from Go code

## <a name="usage"></a>Command Line Tool

The command line tool uses subcommands to interact with each API. Use `rsc cm15` to send requests
to the RightScale Cloud Management API 1.5, `rsc cm16` to send requests to the RightScale Cloud
Management API 1.6, `rsc ss` to send requests to the RightScale Self-Service API 1.0 and `rsc rl10`
to send requests to RightLink10.

### Installation

The `rsc` command line tool is a statically linked binary making installation a breeze. There is
no dependency on any runtime library. Just download the correct version for your OS and
architecture and you're good to go.

The latest stable versions can be download from:
- MacOS X: `https://binaries.rightscale.com/rsbin/rsc/v9/rsc-darwin-amd64.tgz`
- Windows: `https://binaries.rightscale.com/rsbin/rsc/v/rsc-windows-amd64.zip`
- Linux: `https://binaries.rightscale.com/rsbin/rsc/v9/rsc-linux-amd64.tgz`
- ODroid/RasPi/armhf: `https://binaries.rightscale.com/rsbin/rsc/v9/rsc-linux-arm.tgz`

As an example the following downloads and runs the MacOS X version:
```<commit_msg>Fixing windows link<commit_after># rsc - A generic RightScale API client
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/rightscale/rsc/blob/master/LICENSE) [![Godoc](https://godoc.org/github.com/rightscale/rsc?status.svg)](http://godoc.org/github.com/rightscale/rsc)

Master
[![Build Status](https://travis-ci.org/rightscale/rsc.svg?branch=master)](https://travis-ci.org/rightscale/rsc)

v9.0.0
[![Build Status](https://travis-ci.org/rightscale/rsc.svg?branch=v9.0.0)](https://travis-ci.org/rightscale/rsc)

`rsc` provides both a command line tool and a go package for interacting with the RightScale APIs.
The currently supported APIs are the RightScale Cloud Management API 1.5 and 1.6 APIs, the
RightScale Self-Service 1.0 APIs (latest version for this product) and the RightLink10 APIs exposed
by the RightLink10 agent. The RightScale APIs reference can be found on the
[RightScale docs](http://docs.rightscale.com/api/) site.

`rsc` can be used in one of two ways:

* as a command line tool
* as a way to make API requests to RightScale programmatically from Go code

## <a name="usage"></a>Command Line Tool

The command line tool uses subcommands to interact with each API. Use `rsc cm15` to send requests
to the RightScale Cloud Management API 1.5, `rsc cm16` to send requests to the RightScale Cloud
Management API 1.6, `rsc ss` to send requests to the RightScale Self-Service API 1.0 and `rsc rl10`
to send requests to RightLink10.

### Installation

The `rsc` command line tool is a statically linked binary making installation a breeze. There is
no dependency on any runtime library. Just download the correct version for your OS and
architecture and you're good to go.

The latest stable versions can be download from:
- MacOS X: `https://binaries.rightscale.com/rsbin/rsc/v9/rsc-darwin-amd64.tgz`
- Windows: `https://binaries.rightscale.com/rsbin/rsc/v9/rsc-windows-amd64.zip`
- Linux: `https://binaries.rightscale.com/rsbin/rsc/v9/rsc-linux-amd64.tgz`
- ODroid/RasPi/armhf: `https://binaries.rightscale.com/rsbin/rsc/v9/rsc-linux-arm.tgz`

As an example the following downloads and runs the MacOS X version:
```
{'fraction_non_alphanumeric': 0.11582117211026176, 'fraction_numerical': 0.018299745193421358, 'mean_word_length': 4.571612903225806, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 22, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4163632', 'n_tokens_mistral': 1461, 'n_tokens_neox': 1388, 'n_words': 462}