Ruby

Neography

From the github repo:

Neography is a thin Ruby wrapper to the Neo4j Rest API

To install:

gem install 'neography'

To use in your Ruby code:

require 'rubygems'
require 'neography'

neo = Neography::Rest.new("http://username:password@your-domain.provider.graphstory.com:7473")
neo.execute_query("MATCH (person:Person) RETURN person LIMIT 10")
node = neo.create_node("age" => 31, "name" => "Max")

Other Ruby libraries

  • Neo4j.rb - an ActiveRecord-inspired OGM (Object Graph Mapping, like ORM) for Ruby
  • neo4j-core a simple unified API that can access both the server and embedded Neo4j database

More information on using Neo4j with Ruby

Did this answer your question?