Gleam Library for the Rocksky API

rocksky_gleam#

test Package Version Hex Docs

The official Rocksky Gleam client library.

gleam add rocksky@1
import gleam/option.{Some}
import rocksky/client/base
import rocksky/resources/scrobbles

pub fn main() {
  let client = base.new()

  scrobbles.new(client)
  |> scrobbles.get_scrobbles(Some("tsiry-sandratraina.com"))
  |> echo
}

Further documentation can be found at https://hexdocs.pm/rocksky.

Development#

gleam run   # Run the project
gleam test  # Run the tests