An open API service indexing awesome lists of open source software.

https://github.com/tsirysndr/rocksky_gleam

Gleam Library for the Rocksky API
https://github.com/tsirysndr/rocksky_gleam

atproto gleam lastfm rocksky rocksky-sdk scrobble

Last synced: 5 months ago
JSON representation

Gleam Library for the Rocksky API

Awesome Lists containing this project

README

          

# rocksky_gleam

[![test](https://github.com/tsirysndr/rocksky_gleam/actions/workflows/test.yml/badge.svg)](https://github.com/tsirysndr/rocksky_gleam/actions/workflows/test.yml)
[![Package Version](https://img.shields.io/hexpm/v/rocksky)](https://hex.pm/packages/rocksky)
[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/rocksky/)

The official [Rocksky](https://rocksky.app) Gleam client library.

```sh
gleam add rocksky@1
```
```gleam
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 .

## Development

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