Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/davidromani/folding-at-home-api-console

A PHP command line tool to interact with Folding@Home project API
https://github.com/davidromani/folding-at-home-api-console

command console foldingathome php7 symfony

Last synced: 20 days ago
JSON representation

A PHP command line tool to interact with Folding@Home project API

Awesome Lists containing this project

README

        

Folding@Home API console
========================

A Symfony 4.4 LTS console command to interact with [Folding@Home](https://foldingathome.org) project API. This command provides an easy method to check the detailed team stats.

## Installation requirements

* PHP 7.4
* Composer 1.10

## Installation instructions

```bash
$ git clone [email protected]:davidromani/folding-at-home-api-console.git
$ cd folding-at-home-api-console
$ composer install
$ ./vendor/bin/doctrine orm:schema-tool:create -q -n
```

## Usage

Show team stats by ID number in an output pretty format. Remember to replace `` by a team number or team 0 will be searched.

```bash
$ php app.php folding:get:team:stats
```

Persist team stats by ID number into a local storage database. Remember to replace `` by a team number or team 0 will be searched.

```bash
$ php app.php folding:get:team:stats --persist
```

Show list table with total team rankings list stored in the local database.

```bash
$ php app.php folding:get:stored:teams:ranking
```