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.1614177556.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5658d9ffca384d6eee81de298436acdf3f1c01461b7bca8df55cc6e504f347d |
|
MD5 | c977d999d135ff01d2d2bc60f8d1a997 |
|
BLAKE2b-256 | 3ce98bdd117fd883baa41191cc5e4cc119759b01c23a4a7a9ee2ecddab0ad00c |
Close
Hashes for gracie_dictionary_api-2.2.1614177556-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aaaadbb97db4b1297205a458eefce9dba5e62e2f1739e48e629a29ce27bc6fc6 |
|
MD5 | 7bcadc49793b322ce1458c5937ecfcd8 |
|
BLAKE2b-256 | 91a29a07a294feb43d19abad15a6df44036118cb43ba363770182d7870f846c2 |