/OrangeJuice-Stats

获取百分百鲜橙汁的全球统计和个人统计。

Primary LanguagePHPGNU Affero General Public License v3.0AGPL-3.0


English | 中文

100% Orange Juice Stats

100% Orange Juice Stats

This project is an enhanced version of orange-juice-stats.

I build this repo in order to make it easier to look up global stats and player stats.
Deploying it on 100oj.com making it part of the many Orange Juice tools available, in early 2021.

render0

render1

render5

render7

Setup

Setup from source

  1. PHP 7.0 or higher
  2. Get your api key on Steam. And set it in config.php.
  3. (optional) If you use the content under renders/ to render images, set up imagick.

3.1 Checkout your php version.

Run php -v to see what version of PHP you have on the machine.

3.2 Enable GD extension for PHP.

sudo apt-get install php<your-php-version>-gd,
e.g. sudo apt-get install php8.1-gd.

3.3 Set up imagick.

sudo apt-get install php<your-php-version>-imagick,
e.g. sudo apt-get install php8.1-imagick.

Or setup use docker

see OrangeJuice-Stats-Docker.

Public Instance

global.php for global stats

player.php for player stats

render.php for generate image of player stats.
https://interface.100oj.com/stat/render.php?steamid=<steamid>
or https://interface.100oj.com/stat/render.php?steamid=<steamid>&limit=<rows>&render=<typeid>

steamid= is your steam 64bit id, like 7656xxxxxxxxxxxxx.
limit= is the number of rows, can be 0~80+.
render= is the type of render, can be 0~8.

License

GNU Affero General Public License v3.0