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.10.1.1644007843.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35a03eb6a1e806fca17788760a5cf69c67480f5652d78d038f60a646f6001dd4 |
|
MD5 | 5293bd02f948d3d2a183664c3976c601 |
|
BLAKE2b-256 | a9f017a729e5a8ab98a62b3bdab27a3f1cd3f128be4358304232c7d04377110f |
Close
Hashes for gracie_dictionary_api-6.10.1.1644007843-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56f7c2e8cd4143dd4332ecd281534647d0f58615f9450a0132f555f963138f13 |
|
MD5 | 52ffb9b3eb640a569882e40625138999 |
|
BLAKE2b-256 | 7ffed3a41c450b5865e1d6e06e4bc711c5925a74c82b956e51a5776c38243c8c |