Getting Started

Getting Started

Authentication

We allow identified users to access the BMEG system: * We will redirect you to Google to verify identity. * Then you will be granted access for interactive and API access

Authenticate with google.lock

Python Client

GRIPQL is an API for making graph queries using structured data. Queries are defined using a series of step operations provided by BMEG. The python client wraps the construction of these queries in an intuitive python interface.

Find out more about installing the python client open_in_new

Example Usage

Check out some example analyses using the BMEG graph. descriptions

Access

Access

Create your credentials file

echo '' > bmeg_credentials.json

Query Examples

curl

curl -X POST -d '{"query": [{"v": []}, {"limit": 5}]}' https://bmeg.io/grip/v1/graph/rc5/query

Python

Install the client
pip install gripql
Example code
from gripql.graph import Graph
g = Graph(url='https://bmeg.io/grip', graph='rc5', credential_file='bmeg_credentials.json')
res = g.query().V().limit(5).execute()
print(res)

Find out more about the python client open_in_new