Skip to main content

GraphLab Service Client makes it easy to make REST API calls to GraphLab Predictive Services

Project description

Getting Started

To install:

pip install GraphLab-Service-Client

To import:

from graphlab_service_client import PredictiveServiceClient

Using the Library

Create a Connection using a config file (.ini file generated from Predictive Service):

client = PredictiveServiceClient(config_file='/path/to/file.ini')

Create a Connection using an endpoint and api_key directly:

client = PredictiveServiceClient(endpoint='', api_key='')

To call the query and feedback APIs:

results = client.query('uri', {'users':[111,222,333]})

client.feedback('uri', {'requestid':'abcde-abcde'})

License

See the attached LICENSE.txt file to see the license under which GraphLab Service Client is distributed.

References

A lot more documentation regarding the GraphLab Create is available here: http://graphlab.com and on our Forum at http://forum.graphlab.com

Contributors

GraphLab Team, http://graphlab.com (@graphlabteam)

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

GraphLab-Service-Client-1.0.0.tar.gz (6.1 kB view hashes)

Uploaded Source

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