1.0.2 • Published 3 months ago

arena-ts v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

arena-ts

Build Status Coverage Status

A typescript client for are.na. Compatible in node and browser environments.

Minimum node version 18.

Prior art: arena-js.

Note: This is an unofficial client and typing information has been derived by comparing the official documentation with response types from use. These may change over time or depending on context, if you notice any discrepancies please let us know. Contributions are welcome.

Installation

// using npm
npm install arena-ts
// using yarn
yarn add arena-ts

Usage

Simple Example:
import {ArenaClient} from 'arena-ts';

const client = new ArenaClient();

client.channels().then(console.log);

API

Check out the complete API Documentation.

This is based on Arena's Restful API.

Note: some undocumented endpoints have been added:

  • client.me() - gets authenticated users details
  • client.group('groupname').get() - get group details
  • client.group('groupname').channels() - group channels
  • client.block(123).comments() - fetch block comments
  • client.block(123).addComment('comment') - add new comment to block
  • client.block(123).deleteComment(123) - delete comment by id
  • client.block(123).updateComment(123, 'new comment') - update comment by id
1.0.2

3 months ago

1.0.1

3 months ago

1.0.0

6 months ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago