O'Reilly logo

Building Web Applications with Python and Neo4j by Sumit Gupta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exploring the py2neo APIs

Py2neo provides various features and exposes a number of APIs to work with Neo4j. Let's discuss a few of the important APIs that we will use along with the examples in the upcoming sections.

Graph

Graph is one of the basic APIs and contains all the basic operations related to the graph database. It is a wrapper around the REST API ( http://docs.neo4j.org/chunked/stable/rest-api.html), exposed by Neo4j. It connects to the base URI of Neo4j, and then further discovers other REST endpoints exposed by Neo4j. Graph can be used to connect to the local or remote Neo4j server. It can also connect the Neo4j server running behind the firewall by providing the username in the URL itself. The following are the code snippets for using ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required