REST APIs for social network data using py2neo

In this section, we will discuss and develop RESTful APIs for performing CRUD and search operations over our social network data, using Flask-RESTful extension and py2neo extension—Object-Graph Mapper (OGM). Let's move forward to first quickly talk about the OGM and then develop full-fledged REST APIs over our social network data.

ORM for graph databases py2neo – OGM

We discussed about the py2neo in Chapter 4, Getting Python and Neo4j to Talk Py2neo. In this section, we will talk about one of the py2neo extensions that provides high-level APIs for dealing with the underlying graph database as objects and its relationships.

Object-Graph Mapping (http://py2neo.org/2.0/ext/ogm.html) is one of the popular ...

Get Building Web Applications with Python and Neo4j now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.