Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gracie_feeds_api-100.2.1.1704919246.tar.gz (19.9 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file gracie_feeds_api-100.2.1.1704919246.tar.gz.

File metadata

File hashes

Hashes for gracie_feeds_api-100.2.1.1704919246.tar.gz
Algorithm Hash digest
SHA256 ce6552f6a51f6c1488dbbadc026d0fab9c52fcfb7e0b2ebd67708dd9d6625105
MD5 d0265dd5af094b0c155735abf0e14377
BLAKE2b-256 eb171a119138cb2ce3adf7d5754c0dbf56376116d6a18072fc75b2cb1406734b

See more details on using hashes here.

File details

Details for the file gracie_feeds_api-100.2.1.1704919246-py3-none-any.whl.

File metadata

File hashes

Hashes for gracie_feeds_api-100.2.1.1704919246-py3-none-any.whl
Algorithm Hash digest
SHA256 05f40326f022dea3c852e7db54eb0f27bbd6f13b0f2218812204634547b8c193
MD5 39fc788795968ab11d12c9812bcd8369
BLAKE2b-256 ab7dca70a102174cb67fb06fdb228979dc8735ef81393c39e93b236a922499e1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page