Gracie Dictionary API python wrapper
Project description
This package provides a simple wrapper around the Toposlabs Gracie API platform.
Sample usage
import gracie_dictionary_api as GracieDictionayAPI
def gracie_connect():
sso_server = <full url to sso sever>
login_name = <login name>
login_password = <login password>
host = <host or ip of server>
port = 443
e_api = GracieDictionayAPI.GracieAPI(host, sso_server, port, login_name, login_password)
# print currently logged in user information
print(e_api.call_api('usersController', 'whoAmI'))
# process some text and print JSON results
print(e_api.call_api('searchController',
'processText',
text='Boston is the capital and most populous city of the Commonwealth of Massachusetts in the United States'))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for gracie_dictionary_api-6.8.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2571c6a5ddab57e2689213524d0ca2b95323d61aa2e2b51537aa50eec2829407 |
|
MD5 | d30c7ccaf0c112271693e687e07c48c8 |
|
BLAKE2b-256 | dd5dcc6dc6bd900112042377418b07d4b860e6419b6b1f822187e90026d51534 |
Close
Hashes for gracie_dictionary_api-6.8.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b92de283f599f54e70754ce7ce2dd50fe408182066bd08de9a3c5a38e72b9f2 |
|
MD5 | 524b810784215f4a96c80b7a755d3344 |
|
BLAKE2b-256 | 960bd3cbcfa4229098d1211c3a0edff9aa65a07f935534b94a1c1f220248a054 |