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-100.2.1.1704904651.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e127286f223da4ebcf2b5405b6a9462ae332bd6f4f2eb97775b9964b7e61da8 |
|
MD5 | c553853a4fa4a5fc1f4e8ce088065cfd |
|
BLAKE2b-256 | 824158190c0e42b8127be52873fcae4166ba68a5b367d3926d0e851f3885562a |
Close
Hashes for gracie_dictionary_api-100.2.1.1704904651-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1043b125c79b7514efb624af1b5dd4c22c93fa98740e70784c7cf3c5600df664 |
|
MD5 | 8036eb65ad17e7765a9363d02d2ad8d1 |
|
BLAKE2b-256 | 3a4e9efd3be7a29f1864784b71efdef90251fb8f2d322f2e6980271321ff9ac5 |