assistantapps-nomanssky-info
v5.13.4966
Published
No Man's Sky info extracted from the game files, made avaliable by the Assistant for No Man's Sky apps
Downloads
38
Readme
AssistantApps.NoMansSky.Info
This package is not intended for front end use. Instead this is meant to be used in backend projects such as a Discord Bot built using NodeJS
This package lets you get the latest No Man's Sky datamined information from the Assistant for No Man's Sky app. It simply adds the json files that the Android, iOS, Web and Desktop apps use.
Available from: npmjs.com/package/assistantapps-nomanssky-info
Versioning
This nuget package's versioning is based on the version number of the No Man's Sky game files that the data comes from and follows the following format:
GameMajorVersion - GameMinorVersion - PackageBuildNumber.
For example if the game version used was 3.89 then the nuget version will start with 3.89. The last number in the version string is the build number of the package. This the build number for the AssistantNMS organisation, so it will not be consecutive as their are a few private builds within the organisation.
Usage example
The AssistantNMS Discord bot makes use of this package. Below is an example of how it is used.
import { AllGameDataService, DataService, GameItemModel, GameItemService } from 'assistantapps-nomanssky-info';
// ...
const itemNameToSearchFor = 'Carbon';
const gameService = new GameItemService();
const allItems = await gameService.getAllItemDetails();
const validItems = allItems.filter(itm => itm.Name.toLocaleLowerCase().includes(itemNameToSearchFor.toLocaleLowerCase()));
console.log(`Found {validItems.length} item(s)`);
console.log(`First match: {validItems[0].Name}`);