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-100.2.1.1704919246.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce6552f6a51f6c1488dbbadc026d0fab9c52fcfb7e0b2ebd67708dd9d6625105 |
|
MD5 | d0265dd5af094b0c155735abf0e14377 |
|
BLAKE2b-256 | eb171a119138cb2ce3adf7d5754c0dbf56376116d6a18072fc75b2cb1406734b |
Close
Hashes for gracie_feeds_api-100.2.1.1704919246-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05f40326f022dea3c852e7db54eb0f27bbd6f13b0f2218812204634547b8c193 |
|
MD5 | 39fc788795968ab11d12c9812bcd8369 |
|
BLAKE2b-256 | ab7dca70a102174cb67fb06fdb228979dc8735ef81393c39e93b236a922499e1 |