Skip to content

betacraft/ghost_user_parser

Repository files navigation

GhostParser

A ruby plugin used to help evaluate the exported Ghost users

Installation

Install the gem and add to the application's Gemfile by executing:

$ bundle add ghost_user_parser

If bundler is not being used to manage dependencies, install the gem by executing:

$ gem install ghost_user_parser

Usage

To parse the export:

parser = GhostUserParser.new("path/to/export.cvs").parse

[
    {
        "id": "id",
        "email": "email",
        "name": "name",
        "note": "note",
        "subscribed_to_emails": "subscribed_to_emails",
        "complimentary_plan": "complimentary_plan",
        "deleted_at": "deleted_at",
        "created_at": "created_at",
        "labels": "labels",
        "tiers": "tiers"
    }, ......
]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published