1.0.1 • Published 1 year ago

freeso-api v1.0.1

Weekly downloads
-
License
GNU GPLv3
Repository
github
Last release
1 year ago

FreeSO-API

This package contains the definitions to interact with FreeSO server APIs.

Features

  • Full coverage of the known public APIs
  • Ability to get thumbnails of lots

Installation

Install FreeSO-API with npm

  npm install freeso-api

Usage/Examples

const FreeSOAPI = require('freeso-api');

const SOAPI = new FreeSOAPI("https://api.freeso.org"); //can be used to change freeso server

const lotsApi = SOAPI.lots();

lotsApi.getLotsByPage(1, 1, 100).then((res) => {
  res.lots.forEach((lot) => {
    console.log(lot.name);
  });
});
1.0.1

1 year ago

1.0.0

1 year ago