The Macrohard Store API project provides a backend service to generate download URLs for UWP apps.
Rust >= 1.88.0
- Clone the repository:
git clone https://github.com/yuanzui-cf/ms_store_api.git
cd ms_store_api- Build the project:
cargo build --release- Run the server:
./target/release/msapi- Endpoint:
/{product_id} - Method:
GET - Description: Fetches app urls for the given Microsoft Store product ID.
curl http://localhost:9000/9NBLGGH2JHXJThe server can be configured using:
- Environment Variables: Prefix
MSAPI_. - Config File:
config.toml.
- App Name: Macrohard Store API
- Address:
0.0.0.0 - Port:
9000
docker build -t ms_store_api .docker run -p 9000:9000 ms_store_api- Fork the repository.
- Create a new branch for your feature or bug fix.
- Submit a pull request.
This project is licensed under the MIT License.
Parts of the code for generating app URLs were adapted from https://github.com/mjishnu/alt-app-installer-cli.