Gracie Feeds API python wrapper
Project description
This package provides a simple wrapper around the Toposlabs Gracie API platform.
Sample usage
import gracie_feeds_api as GracieFeedsAPI
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 = GracieFeedsAPI(host, sso_server, port, login_name, login_password)
# print currently logged in user information
print(e_api.call_api('usersController', 'whoAmI'))
# create a new project - exception will be thrown if project already exists
project = e_api.call_api('projectsController', 'add', name='Test Project')
# process some text and print JSON results
print(e_api.call_api('projectsController',
'processText',
text='Boston is the capital and most populous city of the Commonwealth of Massachusetts in the United States',
privacyMode=False,
projectId=project['id']))
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_feeds_api-6.8.1627938262.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b64b7efad0716df18410caa78b7a6af28aaf3a1e311d21c3f8a262da3da7a694 |
|
MD5 | 8a76b1953da9ab419d3beca22c6dd23b |
|
BLAKE2b-256 | ce319cf8d0d795aec3fb5798e8d21a435dbaf7b2220471082be53870b12b77c3 |
Close
Hashes for gracie_feeds_api-6.8.1627938262-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 112f82c5a752af7c3fb0c526b81392d3865ff6357a9fbfb666952b61ad213f46 |
|
MD5 | f2e5e2dabfc301e791dd98c157ec668c |
|
BLAKE2b-256 | 2c26dc47683fabaa5a4a5a6806b8ec67e445b24254b27491ea6c71da9c8eb489 |