Module: SquashMatrixAPI

Defined in:
lib/squash_matrix_api/version.rb,
lib/squash_matrix_api.rb,
lib/squash_matrix_api/api_error.rb,
lib/squash_matrix_api/api_client.rb,
lib/squash_matrix_api/models/club.rb,
lib/squash_matrix_api/models/game.rb,
lib/squash_matrix_api/configuration.rb,
lib/squash_matrix_api/models/player.rb,
lib/squash_matrix_api/api/default_api.rb,
lib/squash_matrix_api/models/api_response_errors.rb,
lib/squash_matrix_api/models/inline_response_200.rb,
lib/squash_matrix_api/models/inline_response_200_1.rb,
lib/squash_matrix_api/models/inline_response_200_2.rb,
lib/squash_matrix_api/models/inline_response_200_3.rb,
lib/squash_matrix_api/models/inline_response_200_4.rb,
lib/squash_matrix_api/models/inline_response_200_5.rb,
lib/squash_matrix_api/models/api_response_errors_errors.rb

Overview

#Squash Matrix API

## Endeavor The squash matrix API enables clubs, players, and regions to own their information, with results being updated weekly. The API information sits ontop of squash matrix australia website [squashmatrix.com](https://squashmatrix.com) # API Aside from the documentation provided below, there is also a ‘json:api` available and can be accessed in the same manner, with the addition of the accept header `application/vnd.api+json`. More information about json api can be viewed on their website at [jsonapi.org/](http://jsonapi.org/) # Squash Matrix Scrapper There is a ruby SDK for retrieving information from [squashmatrix.com](https://squashmatrix.com) which can be found at rubygems.org/gems/squash_matrix # SDK’s Please stay posted! Client sdk’s for the following will be provided shortly: - Javascript - Java - Ruby # Blog Find relevent and interesting media on [wilkosz.com.au](wilkosz.com.au) # Contact Join this endeavor and be appart of the community [www.facebook.com/squashmatrixapi](https://www.facebook.com/squashmatrixapi) <hr />

OpenAPI spec version: 1.0.0

Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.3.1

Defined Under Namespace

Classes: ApiClient, ApiError, ApiResponseErrors, ApiResponseErrorsErrors, Club, Configuration, DefaultApi, Game, InlineResponse200, InlineResponse2001, InlineResponse2002, InlineResponse2003, InlineResponse2004, InlineResponse2005, Player

Constant Summary collapse

VERSION =
"1.0.0"

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

SquashMatrixAPI.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



43
44
45
46
47
48
49
# File 'lib/squash_matrix_api.rb', line 43

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end