<commit_before>= strava

Strava (http://www.strava.com/) allows access to it's data via a JSON api.  This gem wraps that API an allows you to interact with Ruby classes instead.

= Installation

  gem install strava
  
depending on your installation, you may need to use sudo

= Requirements

HTTParty
mocha (only if you want to run the tests)

= Usage
Strava is a Ruby wrapper for working with Strava API.

== Creating a Strava::Base object
In order to interact with the Strava API, you need a Strava::Base object

  s = Strava::Base.new

== Clubs
The Strava API allows you to search for clubs by name,

  s.clubs("part of club name")

get full details on a club,

  s.club_show(club_id)

and see the members of a club<commit_msg>README update<commit_after>= strava

Strava (http://www.strava.com/) allows access to it's data via a JSON api.  This gem wraps that API an allows you to interact with Ruby classes instead.

= Installation

  gem install strava
  
depending on your installation, you may need to use sudo

= Requirements

httparty [http://github.com/jnunemaker/httparty]

mocha (only if you want to run the tests) [http://github.com/floehopper/mocha]

= Usage
Strava is a Ruby wrapper for working with Strava API.

== Creating a Strava::Base object
In order to interact with the Strava API, you need a Strava::Base object

  s = Strava::Base.new

== Clubs
The Strava API allows you to search for clubs by name,

  s.clubs("part of club name")

get full details on a club,

  s.club_show(club_id)

and see the members of a club
{'fraction_non_alphanumeric': 0.06883116883116883, 'fraction_numerical': 0.0, 'mean_word_length': 3.8006230529595015, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '284561', 'n_tokens_mistral': 494, 'n_tokens_neox': 489, 'n_words': 226}