<commit_before># Flaxton Amazon Web Services(AWS) API
<p>
This repository is an implementation of AWS API which is used for <a href="http://flaxton.io">flaxton.io</a> Load Balancer writtent in Go programming language <a href="http://golang.org">golang.org</a>. <i>Some part of code implemented using <a href="https://gopkg.in/amz.v1">gopkg.in/amz.v1</a> libraray</i>
</p>

# Get Started
<p>
<i>For this library you will need to install and learn basics of Go programming language <a href="http://golang.org">golang.org</a></i>.
</p>
<b>
To Get Started you need to follow this few steps.
</b>
<ol>
<li>
Create AWS API key and secret by following Amazon documentation: <a href="http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSGettingStartedGuide/AWSCredentials.html">AWS Credentials</a>
</li>
<li>
Put this library in your project path (GOPATH) using
<code>git clone https://github.com/flaxtonio/faws.git</code>
</li>
<li>
Import this library to you Go language project file 
<pre>
import (
    .
    .
    "faws"
    .
    .
)
</pre>
</li>
</ol>

# "Hello World"
```go
package main

import (
	"faws"
	"faws/api/aws"
	"fmt"
)

func main() {
	amz := faws.New("Your Key", "Your Secret", aws.USWest2)
	instances, err := amz.GetInstances(nil, "")
	if err != nil {
		fmt.Println(err.Error())
		return
	}
	fmt.Println("Your Instances")
	for _, inst := range instances {
		fmt.Println(inst.InstanceId, inst.IPAddress)
	}
}
```
<b>See <a href="https://github.com/flaxtonio/faws/blob/master/tests/awsTest.go" target="_blank"><code>tests/awsTest.go</code></a> file for more detailed example</b>

# API Functions
<ul><commit_msg>See -> Read<commit_after># Flaxton Amazon Web Services(AWS) API
<p>
This repository is an implementation of AWS API which is used for <a href="http://flaxton.io">flaxton.io</a> Load Balancer writtent in Go programming language <a href="http://golang.org">golang.org</a>. <i>Some part of code implemented using <a href="https://gopkg.in/amz.v1">gopkg.in/amz.v1</a> libraray</i>
</p>

# Get Started
<p>
<i>For this library you will need to install and learn basics of Go programming language <a href="http://golang.org">golang.org</a></i>.
</p>
<b>
To Get Started you need to follow this few steps.
</b>
<ol>
<li>
Create AWS API key and secret by following Amazon documentation: <a href="http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSGettingStartedGuide/AWSCredentials.html">AWS Credentials</a>
</li>
<li>
Put this library in your project path (GOPATH) using
<code>git clone https://github.com/flaxtonio/faws.git</code>
</li>
<li>
Import this library to you Go language project file 
<pre>
import (
    .
    .
    "faws"
    .
    .
)
</pre>
</li>
</ol>

# "Hello World"
```go
package main

import (
	"faws"
	"faws/api/aws"
	"fmt"
)

func main() {
	amz := faws.New("Your Key", "Your Secret", aws.USWest2)
	instances, err := amz.GetInstances(nil, "")
	if err != nil {
		fmt.Println(err.Error())
		return
	}
	fmt.Println("Your Instances")
	for _, inst := range instances {
		fmt.Println(inst.InstanceId, inst.IPAddress)
	}
}
```
<b>Read <a href="https://github.com/flaxtonio/faws/blob/master/tests/awsTest.go" target="_blank"><code>tests/awsTest.go</code></a> file for more detailed example</b>

# API Functions
<ul>
{'fraction_non_alphanumeric': 0.1635413464494313, 'fraction_numerical': 0.0018444512757454657, 'mean_word_length': 4.14873417721519, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 0, '>': 82, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6104214', 'n_tokens_mistral': 1240, 'n_tokens_neox': 1191, 'n_words': 328}