<commit_before>= Landslider

Ruby interface to Landslide's SOAP based API

== Pre-requisites

An account with Landslide that has the API enabled. (www.landslide.com)

== Resources

=== Dependencies

This gem requires the following gems:
	handsoap (1.1.8)

== Install

	landslider requires the handsoap gem

	gem install handsoap landslider

== Usage

	Configuration:

	# constants to be set by rails environment config files
	LS_INSTANCE_NAME = 'jaytest'
	LS_API_USERNAME = '<EMAIL>'
	LS_API_PASSWORD = 'XXXXXXXX'
	LS_API_KEY =  Digest::MD5.hexdigest(LS_API_PASSWORD + LS_INSTANCE_NAME)
	LS_API_NAMESPACE = "http://www.landslide.com/webservices/SoapService"
	LS_API_ENDPOINT = {
	  :uri => "https://#{LS_INSTANCE_NAME}.api.landslide.com/webservices/SoapService",
	  :version => 2
	}<commit_msg>add note about curb/httpclient dependency<commit_after>= Landslider

Ruby interface to Landslide's SOAP based API

== Pre-requisites

An account with Landslide that has the API enabled. (www.landslide.com)

== Resources

=== Dependencies

This gem requires the following gems:
	handsoap (1.1.8)


	You need to have either curb or httpclient on the load path.



== Install

	landslider requires the handsoap gem

	gem install handsoap landslider

== Usage

	Configuration:

	# constants to be set by rails environment config files
	LS_INSTANCE_NAME = 'jaytest'
	LS_API_USERNAME = '<EMAIL>'
	LS_API_PASSWORD = '<PASSWORD>'
	LS_API_KEY =  Digest::MD5.hexdigest(LS_API_PASSWORD + LS_INSTANCE_NAME)
	LS_API_NAMESPACE = "http://www.landslide.com/webservices/SoapService"
	LS_API_ENDPOINT = {
	  :uri => "https://#{LS_INSTANCE_NAME}.api.landslide.com/webservices/SoapService",
	  :version => 2
	}
{'fraction_non_alphanumeric': 0.09738717339667459, 'fraction_numerical': 0.0059382422802850355, 'mean_word_length': 4.77054794520548, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 10, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 1, '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': '1394930', 'n_tokens_mistral': 592, 'n_tokens_neox': 566, 'n_words': 150}