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-23.3.1.1680194036.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf435dcd83b88e2b8b9e4279c45a9c7ebba2936fc9617fd12cc48ffe177c493c |
|
MD5 | 864b1e05f809b381c8a74763c068c44d |
|
BLAKE2b-256 | becf0c5d6d376ccb1d4462b8ce805efd7509fe2b75a91369d3e1e682ded066a3 |
Close
Hashes for gracie_dictionary_api-23.3.1.1680194036-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c99d45b80b18e6448306f0eb9d67d0b6b782589343c8bed02b135f6eb31c7b7d |
|
MD5 | 10f3d596c179e5c778bd258bc9715987 |
|
BLAKE2b-256 | 9970dea0f2d18873ba924c39a638a8ffaf354d9626f2ec06bd3e3f720065a21b |