/Logo-Rest-Client

Primary LanguagePythonMIT LicenseMIT

LogoRestClient PyPackage

LogoRestClient is a Python library for accessing logo rest.

Installation

Use the package manager pip to install foobar.

pip install LogoRestClient

Usage

from logorestclient import LogoService

credentials = {
    'GRANT_TYPE': 'grant type',
    'USER_NAME': 'username',
    'CLIENT_NUMBER': 'client number',
    'PASSWORD': 'password',
    'REST_URL': 'rest url',
}
logo_service = LogoService(credentials)
# returns 'query result'
result = logo_service.runQuery('sql_query')

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT