Travis License: MIT NuGet CodeFactor Open Source Helpers Language

GhostSharp is a wrapper around the Ghost API v2.0, a RESTful JSON API built into the core of the Ghost blogging platform. I wrote it as a personal challenge, to get acquainted with the Ghost API v2.0 but also to familiarize myself with C# 7.x.

Check out the official Ghost API docs, and read about my own experience implementing the Content API and then starting on the Admin API.

Source Code

The source code for GhostSharp is available on GitHub. It's covered by a full suite of unit and integration tests, which you can configure and run against your Ghost instance if you'd like. Instructions on how to implement it and run the tests are in the readme, or you could install it via NuGet (recommended).

The Ghost team hasn't fully developed of the admin portion of the API yet, so I've only implemented those endpoints marked as stable (posts, pages, images, site). No sense in covering things that are just going to change...

Contributions / Issues

Open an issue, and include errors, unexpected behavior, steps to reproduce, etc. The more details, the better. Feel free to open a PR if you figure out how to fix it. I'll address issues as time permits.


Grant Winney

I write when I've got something to share - a personal project, a solution to a difficult problem, or just an idea. We learn by doing and sharing. We've all got something to contribute.