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-2.2.1627934770.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad7124ce82bb467412754af6a57d59b0a22400fadd30ae67cab2575b2a2d40f0 |
|
MD5 | 8c08961ecdbf56f3d4a2950009eb9426 |
|
BLAKE2b-256 | 775f87d6bf5ad9dfc2274d4c6842ca367be2b84fc01a3245fb7fccaf2a032993 |
Close
Hashes for gracie_dictionary_api-2.2.1627934770-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf77c5f503a5ffd8076ededa3a384a56cd7d5c8186858505a2cf181393e24b8c |
|
MD5 | d9a5fe1abb65e37e67fc5c7fe5ebcf93 |
|
BLAKE2b-256 | 0eb7f305177edc4a807318133f44d3d3705e6db616fd56242d9db38c79561efd |