<commit_before># Pipedrive

Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/pipedrive`. To experiment with that code, run `bin/console` for an interactive prompt.

TODO: Delete this and the text above, and describe your gem

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'pipedrive'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install pipedrive

## Usage

TODO: Write usage instructions here<commit_msg>Adds instructions to use this gem in README.md<commit_after># Pipedrive

This gem wrap the RESTful Pipedrive API v1. 

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'pipedrive', :git => 'https://github.com/gabrielmbarboza/pipedrive-client.git'
```

And then execute:

    $ bundle

## Usage

```ruby
Pipedrive::Authorization.login(my_email, my_password)
```
or

```ruby
Pipedrive::Authorization.authenticate(my_token)
```
{'fraction_non_alphanumeric': 0.0939922480620155, 'fraction_numerical': 0.0009689922480620155, 'mean_word_length': 4.49468085106383, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 1, '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': '6451749', 'n_tokens_mistral': 347, 'n_tokens_neox': 320, 'n_words': 127}