MIT License

项目介绍

Universalis-FFXIV/Universalis 是一个托管在 GitHub 上的开源项目,主要使用 C# 编写,采用 MIT License 许可证,目前获得 208 个 Star、33 次 Fork。

仓库全名
Universalis-FFXIV/Universalis
开源许可证
MIT License
Star 数
208
Fork 数
33
未关闭 Issue
44

README 摘要

Universalis A crowdsourced market board aggregator. Endpoint Reference /api/:world/:item /api/history/:world/:item /api/tax-rates /api/extra/content/:contentID /api/extra/stats/upload-history /api/extra/stats/recently-updated /api/extra/stats/least-recently-updated /api/extra/stats/world-upload-counts /upload/:apiKey Client-app Development Please see goat's ACT plugin for an example of how to collect and upload…

完整内容见 GitHub 原始 README 或本页 。

常见问题

Universalis 用什么语言开发?

主要使用 C# 编写,采用 MIT License 许可证,目前有 208 个 Star。

Universalis 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 Universalis 的源码?

可以直接克隆仓库:git clone https://github.com/Universalis-FFXIV/Universalis.git,默认分支为 v2;安装与运行步骤见仓库 README。

Universalis 最近还在维护吗?

仓库最近一次更新为 2 周前,当前有 44 个未关闭 Issue;Star 数为 208,可作为社区活跃度的参考。

关于

A crowdsourced market board API for FFXIV.

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
280
价值分
133
活跃状态
活跃

语言占比

Batchfile
C#
Dockerfile
F#
JavaScript
PowerShell
Shell
TypeScript

Release

README

Codacy Badge code style: prettier

Universalis

A crowdsourced market board aggregator.

Endpoint Reference

  • /api/:world/:item
  • /api/history/:world/:item
  • /api/tax-rates
  • /api/extra/content/:contentID
  • /api/extra/stats/upload-history
  • /api/extra/stats/recently-updated
  • /api/extra/stats/least-recently-updated
  • /api/extra/stats/world-upload-counts
  • /upload/:apiKey

Client-app Development

Please see goat’s ACT plugin for an example of how to collect and upload market board data.

Development

Requires Node.js v10 or higher, PHP, MariaDB, Redis, Composer, and MongoDB Community Edition v4.2 or higher.

Also build a DataExports and an icon2x by running the exporter solution.

Uncomment/add in php.ini:

extension=redis.so

MariaDB commands:

CREATE DATABASE `dalamud`;
CREATE USER 'dalamud'@localhost IDENTIFIED BY 'dalamud';

Setup script:

npm install -g yarn
npm install
git submodule init
git submodule update
cd mogboard
git submodule init
git submodule update
composer install
php bin/console doctrine:schema:create
php bin/console PopulateGameDataCommand -vvv
php bin/console ImportTranslationsCommand -vvv
yarn
yarn dev
symfony server:start -vvv --port 8000
cd ..
npm run build
npm start

To update

Go to the mogboard/ folder, and execute the following commands after adding any new front-end data.

sudo rm -rf var/
sudo redis-cli FLUSHALL
sudo php bin/console PopulateGameDataCommand -vvv
sudo php bin/console ImportTranslationsCommand -vvv
sudo chmod 0777 var/ -R

Single-line form

sudo rm -rf var/ && sudo redis-cli FLUSHALL && sudo php bin/console PopulateGameDataCommand -vvv && sudo php bin/console ImportTranslationsCommand -vvv && sudo chmod 0777 var/ -R

Uploads

Listings upload format (JSON):

{
    worldID: number;
    itemID: number;
    uploaderID: string | number;
    listings: [{
        listingID: string;
        hq: boolean;
        materia?: ItemMateria[];
        pricePerUnit: number;
        quantity: number;
        total?: number;
        retainerID: string;
        retainerName: string;
        retainerCity: number;
        creatorName?: string;
        onMannequin?: boolean;
        sellerID: string;
        creatorID?: string;
        lastReviewTime: number;
        stainID?: number;
    }];
}

History upload format (JSON):

{
    worldID: number;
    itemID: number;
    uploaderID: number | string;
    entries: [{
        hq: boolean;
        pricePerUnit: number;
        quantity: number;
        total?: number;
        buyerName: string;
        timestamp: number;
        onMannequin?: boolean;
        sellerID: string;
    }];
}

Crafter upload format (JSON):

{
    contentID: number;
    characterName: string;
}

评论

暂无评论