<commit_before>codeforces-api-php
==================

Codeforces API Wrapper For PHP 

see more detail API http://codeforces.com/api/help

## Usage

Example
```
$client = new Codeforces\Api\Client();
var_dump($client->userInfo('nise_nabe'));
```

Output
```
array(2) {
  'status' =>
  string(2) "OK"
  'result' =>
  array(1) {
    [0] =>
    array(9) {
      'handle' =>
      string(9) "nise_nabe"
      'country' =>
      string(5) "Japan"
      'contribution' =>
      int(0)
      'rank' =>
      string(6) "newbie"
      'rating' =>
      int(1169)
      'maxRank' =>
      string(6) "expert"
      'maxRating' =>
      int(1657)
      'lastOnlineTimeSeconds' =>
      int(1408119476)
      'registrationTimeSeconds' =>
      int(1267685668)
    }
  }
}
```

## API List

| Methods                 |                         |
|-------------------------|-------------------------|
| contest.hacks           | contentHacks()          |
| contest.list            | contestList             |
| contest.standings       | contestStandings        |
| contest.status          | contestStatus           |
| problemset.problems     | problemsetProblems      |
| problemset.recentStatus | problemsetRecentStatus  |
| user.info               | userInfo                |
| user.ratedList          | userRatedList           |
| user.rating             | userRating              |
| user.status             | userStatus              |<commit_msg>add TODO<commit_after>codeforces-api-php
==================

Codeforces API Wrapper For PHP 

see more detail API http://codeforces.com/api/help

## Usage

Example
```
$client = new Codeforces\Api\Client();
var_dump($client->userInfo('nise_nabe'));
```

Output
```
array(2) {
  'status' =>
  string(2) "OK"
  'result' =>
  array(1) {
    [0] =>
    array(9) {
      'handle' =>
      string(9) "nise_nabe"
      'country' =>
      string(5) "Japan"
      'contribution' =>
      int(0)
      'rank' =>
      string(6) "newbie"
      'rating' =>
      int(1169)
      'maxRank' =>
      string(6) "expert"
      'maxRating' =>
      int(1657)
      'lastOnlineTimeSeconds' =>
      int(1408119476)
      'registrationTimeSeconds' =>
      int(1267685668)
    }
  }
}
```

## API List

| Methods                 |                         |
|-------------------------|-------------------------|
| contest.hacks           | contentHacks()          |
| contest.list            | contestList             |
| contest.standings       | contestStandings        |
| contest.status          | contestStatus           |
| problemset.problems     | problemsetProblems      |
| problemset.recentStatus | problemsetRecentStatus  |
| user.info               | userInfo                |
| user.ratedList          | userRatedList           |
| user.rating             | userRating              |
| user.status             | userStatus              |

### TODO

* Authorization
{'fraction_non_alphanumeric': 0.1741534208707671, 'fraction_numerical': 0.02626123013130615, 'mean_word_length': 1.5664893617021276, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6552481', 'n_tokens_mistral': 947, 'n_tokens_neox': 885, 'n_words': 145}