<commit_before>Ruby client for Datadog API v1.0.3

The Ruby client is a library suitable for inclusion in existing Ruby projects or for development of standalone scripts. It provides an abstraction on top of Datadog's raw HTTP interface for reporting events and metrics.

# Installation

## Source

Available at: https://github.com/DataDog/dogapi-rb

    $ cd dogapi-rb
    $ rake gem
    $ gem install pkg/dogapi-*.gem

## RubyGems

Gem page: https://rubygems.org/gems/dogapi

    $ gem install dogapi

# Usage

## How to find your API Key

Go to [https://app.datadoghq.com/account/setup](your setup page).

## Submit an event to Datadog

### If the event has no duration

```ruby
require 'rubygems'
require 'dogapi'

api_key = "<KEY>"<commit_msg>URL fix for account setup<commit_after>Ruby client for Datadog API v1.0.3

The Ruby client is a library suitable for inclusion in existing Ruby projects or for development of standalone scripts. It provides an abstraction on top of Datadog's raw HTTP interface for reporting events and metrics.

# Installation

## Source

Available at: https://github.com/DataDog/dogapi-rb

    $ cd dogapi-rb
    $ rake gem
    $ gem install pkg/dogapi-*.gem

## RubyGems

Gem page: https://rubygems.org/gems/dogapi

    $ gem install dogapi

# Usage

## How to find your API Key

Go to [https://app.datadoghq.com/account/settings](your setup page).

## Submit an event to Datadog

### If the event has no duration

```ruby
require 'rubygems'
require 'dogapi'

api_key = "<KEY>"
{'fraction_non_alphanumeric': 0.09133024487094639, 'fraction_numerical': 0.003970880211780278, 'mean_word_length': 3.710280373831776, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1905272', 'n_tokens_mistral': 495, 'n_tokens_neox': 464, 'n_words': 183}