JavaScript client for Israeli Avoda party's private membership API.
Implementation relies on an undocumented API used by Avoda's membership check form and may break without notice. The code is provided for educational purposes only. Actual usage of this library is strongly discouraged, and may violate Avoda's terms of service.
Install the library with npm install avoda
import AvodaClient from 'avoda';
const avoda = new AvodaClient();
const accountDetails = await avoda.getAccountDetails({
id: '33094954' // Isaac "Bougie" Herzog
});
console.log(accountDetails);
// <- {"result":"11","name":"צח יצחק הרצוג","gender":"1"}