datatools_pkg

package
v3.4.5+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DATATOOLS

* Interface for the DATATOOLS_IMPL

type DATATOOLS_IMPL

type DATATOOLS_IMPL struct {
	// contains filtered or unexported fields
}

* Client structure as interface implementation

func NewDATATOOLS

func NewDATATOOLS(config configuration_pkg.CONFIGURATION) *DATATOOLS_IMPL

* Factory for the DATATOOLS interaface returning DATATOOLS_IMPL

func (*DATATOOLS_IMPL) BadWordFilter

func (me *DATATOOLS_IMPL) BadWordFilter(
	content string,
	censorCharacter *string) (*models_pkg.BadWordFilterResponse, error)

*

  • Detect bad words, swear words and profanity in a given text. See: https://www.neutrinoapi.com/api/bad-word-filter/
  • @param string content parameter: Required
  • @param *string censorCharacter parameter: Optional
  • @return Returns the *models_pkg.BadWordFilterResponse response from the API call

func (*DATATOOLS_IMPL) Convert

func (me *DATATOOLS_IMPL) Convert(
	fromValue string,
	fromType string,
	toType string) (*models_pkg.ConvertResponse, error)

*

  • A powerful unit conversion tool. See: https://www.neutrinoapi.com/api/convert/
  • @param string fromValue parameter: Required
  • @param string fromType parameter: Required
  • @param string toType parameter: Required
  • @return Returns the *models_pkg.ConvertResponse response from the API call

func (*DATATOOLS_IMPL) EmailValidate

func (me *DATATOOLS_IMPL) EmailValidate(
	email string,
	fixTypos *bool) (*models_pkg.EmailValidateResponse, error)

*

  • Parse, validate and clean an email address. See: https://www.neutrinoapi.com/api/email-validate/
  • @param string email parameter: Required
  • @param *bool fixTypos parameter: Optional
  • @return Returns the *models_pkg.EmailValidateResponse response from the API call

func (*DATATOOLS_IMPL) PhoneValidate

func (me *DATATOOLS_IMPL) PhoneValidate(
	number string,
	countryCode *string,
	ip *string) (*models_pkg.PhoneValidateResponse, error)

*

  • Parse, validate and get location information about a phone number. See: https://www.neutrinoapi.com/api/phone-validate/
  • @param string number parameter: Required
  • @param *string countryCode parameter: Optional
  • @param *string ip parameter: Optional
  • @return Returns the *models_pkg.PhoneValidateResponse response from the API call

func (*DATATOOLS_IMPL) UserAgentInfo

func (me *DATATOOLS_IMPL) UserAgentInfo(
	userAgent string) (*models_pkg.UserAgentInfoResponse, error)

*

  • Parse, validate and get detailed user-agent information from a user agent string. See: https://www.neutrinoapi.com/api/user-agent-info/
  • @param string userAgent parameter: Required
  • @return Returns the *models_pkg.UserAgentInfoResponse response from the API call

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL