Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.
/ s4tk-server Public archive

Example of how to set up an S4TK server for use with any language.

Notifications You must be signed in to change notification settings

sims4toolkit/s4tk-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S4TK Server

This repository is a simple example of how you might create an express server to use S4TK in any language of your choice. This example server is intended to be run locally, and has two endpoints for converting SimData between XML and binary.

Running the project

Open this project in any editor of your choice, and run the following commands.

Install dependencies

npm i

Start the server

npm start

Test with Python

python3 tests/test.py

You may also test this project with Postman. Here's a collection of my test requests: https://www.getpostman.com/collections/5b90aec125481379cf55.