/node-phenix

An API wrapper for the anti-waste app Phenix

Primary LanguageJavaScript

node-phenix

An API wrapper for the anti-waste app Phenix

Installation

yarn add node-phenix

Usage

const Phenix = require("node-phenix");
const phenix = new Phenix({
  email: "",
  password: "",
});

Methods

Login

await phenix.login();

Get profile

await phenix.getProfile();

Get nearby stores (+items)

await phenix.getStores({ latitude, longitude }, radius = 2000);