a wrapper for AnyList's API (unoffical, reverse engineered)
npm i anylist
Here's an example script (replace
password with your credentials):
const AnyList = ;const any = email: 'email@example.com' password: 'password';any;any;
- There is much more functionality in the AnyList API that is not captured in this package, I just implimented the functions that I would be using. If there is functionality missing that you want, please open a PR and I'm happy to merge it in.
- (This means that you can't currently add/remove/update lists.)
- When adding new items, you should reuse existing, checked-off items if possible like the offical clients do. Search the list by the item name with
list.getItemByName('item-name')to see if it exists before adding a new instance.