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.1644007445.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3681a7025def999d2ce954f6d7c6f084d7d69df0e9179d6e216542590b18b0a1 |
|
MD5 | 7b33898c6aaf0c3684facc245cea7649 |
|
BLAKE2b-256 | 96bbcca38e2efb1c0d3bfe3249cdd2d3eb8c5db4ca9624ce8d03172fc35f34c9 |
Close
Hashes for gracie_dictionary_api-6.8.1644007445-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d64a595e07d4fea825e8abc8029510ab110c3df68f4dab57887670d4ab17230 |
|
MD5 | 07e7e184296a42a9eaf181f348b50fbc |
|
BLAKE2b-256 | 87801770590b9fb3c265a1cf0b7fc69f77ec9d7ec0ca72c71ce87c856b014ad2 |