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-2.2.1614177787.tar.gz (24.2 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-2.2.1614177787-py3-none-any.whl (42.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gracie_feeds_api-2.2.1614177787.tar.gz
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.7

File hashes

Hashes for gracie_feeds_api-2.2.1614177787.tar.gz
Algorithm Hash digest
SHA256 e8a3263333f8eb14cfd06202d92c25291bd2c33674a5beb9fa5601b039a73e43
MD5 3fed9e17b0224e46c55f4bc2e12fac8f
BLAKE2b-256 d9c6566f03b0adee06dc543d54714b983aa5d98a10be46f95585102e5ce4a61e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gracie_feeds_api-2.2.1614177787-py3-none-any.whl
  • Upload date:
  • Size: 42.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.7

File hashes

Hashes for gracie_feeds_api-2.2.1614177787-py3-none-any.whl
Algorithm Hash digest
SHA256 f911f22e851aca73663c3af4a75c999089a741b24b49f8a9c32c3928845b8de5
MD5 bad9f1ee002c796a981058119cc8de24
BLAKE2b-256 7e9c5694c4fd691f391f636684ba334278b41f4cc6af34a53e4c76fa21dac43a

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