ns-web-api is a NationStates API web interface written in typescript.
make sure you have node.js and npm installed
- clone the repository
git clone https://github.com/ducky4life/ns-web-api.git - go into directory
cd ns-web-api - install dependencies (you should install browserify globally too to use the cli)
npm installif you do not have typescript:npm install -g browserifynpm install -g typescript - create bundle.js
browserify -r nsapi >> build/bundle.js - compile typescript
or use
tsctsc --watchin a development environment - navigate to
build/index.htmland enjoy
- private nation requests
- nation commands
- using PIN for authentication
- world assembly api
- trading cards api
- toggle caching
- identify each result with its shard
- sort results
- jsonify results
- export results to file (toggle)
- copy results to clipboard
ns-web-api is licensed under the Apache License 2.0.
ns-web-api uses node-nsapi to access the NationStates API. Its NOTICE file will be provided below.
node-nsapi
Copyright (C) 2016-2020 Auralia