Skip to content

Scala package to interact with the Ghost (Node.JS) blogging platform API

Notifications You must be signed in to change notification settings

chrismarlow9/Scala-Ghost-Lib

Repository files navigation

Scala Lib For Ghost(Node.js) API

This is a library for scala developers to write programs that interact with the Ghost blogging platform via the REST api provided by Ghost. Quick Example

First you create our ghost object with the blogs base url and authenticate.

  val ghost_client = new Ghost("http://localhost:2368/")
  ghost_client.signin("user@example.com","123456")

Now you need to create a Posts object from your Ghost object

val posts_examples = new Posts(ghost_client)
posts_examples.createPost("publish","Hello World","Lorem ipsum test post content.")

Advanced Usage

To get a full overview of the library and its methods, see src/main/scala/com/ghostutils/Examples.scala

About

Scala package to interact with the Ghost (Node.JS) blogging platform API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published