@openreview/client
v0.0.49
Published
Node.js client library for OpenReview's academic publishing API
Downloads
10,829
Readme
OpenReview Node.js Client
A JavaScript client for the OpenReview API. This client provides methods for communicating with the OpenReview server, including authentication, CRUD (create, read, update, delete) operations on notes, profiles, groups, invitations, edges, and messages, and profiles.
Running Tests Locally
To run the tests locally, you'll need to set up the following prerequisites:
Prerequisites
- Node.js (versions 20.x or 22.x)
- Redis (v7.x)
- MongoDB (v8.0) with replica set
- Elasticsearch (v7.6.0)
- Python (for openreview-py)
Setup Instructions
Start MongoDB with replica set
mongod --replSet rs0 --dbpath <your_db_path>Start the MongoDB shell and initiate the replica set
mongo --eval 'rs.initiate()'Start Redis
Start Elasticsearch
Clone openreview-py
git clone https://github.com/openreview/openreview-py.git cd openreview-py pip install -e . cd ..Clone openreview-api
git clone https://github.com/openreview/openreview-api.git cd openreview-api mkdir -p logs files/attachments files/pdfs files/temp npm ci npm run cleanStartJS & cd ..Run the Tests
npm run test
