/spacetraders-fetch-api

A TypeScript API client for SpaceTraders v2

Primary LanguageTypeScriptMIT LicenseMIT

spacetraders-fetch-api

A TypeScript/JavaScript Fetch API client for SpaceTraders v2.

This package was generated using OpenAPI Generator.

Installing

npm install spacetraders-fetch-api

Versioning

For now, the versioning of this package is date-based, to work along with the regular changes that are happening to the REST API.

Building

To build and compile the TypeScript sources to JavaScript use:

npm install
npm run build

Regenerating

To run the generator, you'll need the Java runtime. Then run:

npm run generate

Note: We're skipping validating the spec (i.e. --skip-validate-spec) since there is a validation issue. Ideally, this would not be required.