Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mazkdevf/keyauth-batch-example
Quick Example to showcase how to authenticate with KeyAuth on Batch!
https://github.com/mazkdevf/keyauth-batch-example
bat example json keyauth release
Last synced: about 4 hours ago
JSON representation
Quick Example to showcase how to authenticate with KeyAuth on Batch!
- Host: GitHub
- URL: https://github.com/mazkdevf/keyauth-batch-example
- Owner: mazkdevf
- Created: 2024-01-27T21:39:26.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-01-27T21:55:42.000Z (9 months ago)
- Last Synced: 2024-05-01T18:49:49.390Z (6 months ago)
- Topics: bat, example, json, keyauth, release
- Language: Batchfile
- Homepage: https://keyauth.cc
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# KeyAuth Batch Example - If you find this helpful, kindly ⭐ Thanks!
- This example illustrates potential functionality but is not fully secure. It lacks checks for license authentication, login, or register operations, merely outputting messages from the API without verifying the json.success property.
- Exclusive to Windows and includes HWID check.
## Introduction
This repository contains a batch script and the jq.exe tool for working with KeyAuth. JQ is a lightweight and flexible command-line JSON processor.
- [JQ Official Website](https://jqlang.github.io/jq/)
- [JQ GitHub Repository](https://github.com/jqlang/jq)## JQ Overview
JQ is a powerful tool for manipulating JSON data. Similar to sed for text, jq provides ease in slicing, filtering, mapping, and transforming structured data.
## Portability and Dependencies
- Written in portable C.
- Zero runtime dependencies.
- A single binary can be downloaded and executed on distant machines of the same type.## Efficiency and Simplicity
- Enables easy conversion of data formats.
- Programs written with jq are often shorter and simpler than expected.
- Offers a concise way to achieve desired data transformations.## Usage Instructions
1. Download the jq.exe tool:
- [Download jq.exe (1.7.1) from this repository](https://github.com/mazkdevf/KeyAuth-Batch-Example/releases/tag/1.7.1)
- OR [Download jq.exe (1.7.1) from JQ Official Website](https://jqlang.github.io/jq/download/) (choose "1.7.1 Windows 64-bit"), and rename it to `jq.exe`.2. Place the downloaded `jq.exe` in the same directory as your batch script.
3. Open `main.bat` in a text editor and update the following lines:
```batch
set ver=
set name=
set ownerid=
```4. Save the changes to `main.bat`.
5. You are ready to launch it!
For more information on jq, refer to the jq documentation.**Note:** Ensure that the jq.exe version used matches the one specified (1.7.1) to guarantee compatibility with this example.