luanne / meetup2neo

Meetup Event To Neo4j Import

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Meetup2Neo

Simple PHP Script to import informations about a Meetup Event

It will import :

  • The Event
  • The Event's Group
  • The Event's Group's Members
  • All Groups Members belong to
  • All topics that tags groups
  • The RSVPs for the Event

Imgur

Imgur

After the import it will generate a meetup.html file showing the user's topics interests

Imgur

How to use

Clone this repo

git clone git@github.com:ikwattro/meetup2neo

Install composer (php dependency manager) if you don't have it

curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer

If you have file permissions problems with the mv command, try with sudo

Install the dependencies

composer install

Modify the config.yml file by adding your neo4j connection informations and your meetup api key

Run the import in the command line and provide an event id :

php import.php 12345

There are two arguments you can pass to the command line, the first one is to skip the creation of the schema indexes and constraints and the second is to skip the deletion of the database content.

The two arguments are default to false.

php import.php 12345 true true

Support

If you find a bug please raise a github issue or ping me on twitter

About

Meetup Event To Neo4j Import


Languages

Language:PHP 100.0%