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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: gracie_feeds_api-6.8.1627938262.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.10

File hashes

Hashes for gracie_feeds_api-6.8.1627938262.tar.gz
Algorithm Hash digest
SHA256 b64b7efad0716df18410caa78b7a6af28aaf3a1e311d21c3f8a262da3da7a694
MD5 8a76b1953da9ab419d3beca22c6dd23b
BLAKE2b-256 ce319cf8d0d795aec3fb5798e8d21a435dbaf7b2220471082be53870b12b77c3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gracie_feeds_api-6.8.1627938262-py3-none-any.whl
  • Upload date:
  • Size: 32.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.10

File hashes

Hashes for gracie_feeds_api-6.8.1627938262-py3-none-any.whl
Algorithm Hash digest
SHA256 112f82c5a752af7c3fb0c526b81392d3865ff6357a9fbfb666952b61ad213f46
MD5 f2e5e2dabfc301e791dd98c157ec668c
BLAKE2b-256 2c26dc47683fabaa5a4a5a6806b8ec67e445b24254b27491ea6c71da9c8eb489

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