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-23.3.1.1691689562.tar.gz (19.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gracie_feeds_api-23.3.1.1691689562-py3-none-any.whl (40.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for gracie_feeds_api-23.3.1.1691689562.tar.gz
Algorithm Hash digest
SHA256 c806727324d9594f429987a003108bbcc062a7ba3db141af01168a5121092e03
MD5 4ada5ee3e69048849f486a84d27f9f1c
BLAKE2b-256 7129eb9dfd9b3dbdb424278a6d45d9e698fcd235895c425ce2f2b37d38cd2d08

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gracie_feeds_api-23.3.1.1691689562-py3-none-any.whl
Algorithm Hash digest
SHA256 3c4714b0e745987a5bc2c3a2eb9ab9d4324f1e39c54b05e77384592fbb24148f
MD5 d88909b494e436293f40a69825ac7d13
BLAKE2b-256 97c8caba98ca65d3859cdbe3909a86f86ed1e4b55ee7596927ac30f0ef62c071

See more details on using hashes here.

Supported by

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