GhostSharp

Travis License: MIT NuGet CodeFactor Open Source Helpers Language

GhostSharp is a C# wrapper around the Ghost API v3.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, but also to familiarize myself with C# 7.x, 8.x, .NET Core, and .NET Standard.

Check out the official Ghost API docs, and read about my own experience implementing it the first time around.

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, or just check out the build history here. Instructions on using it are in the readme, or you could install it via NuGet (recommended).

I've implemented those endpoints that are marked as stable (posts, pages, images, themes, site). No sense 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 don't always have a ton of time, but I'll address issues as time permits.


Author

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.

Comments