Skip to content

Commit

Permalink
Update README, and update note in osuid.php
Browse files Browse the repository at this point in the history
  • Loading branch information
kj415j45 committed Jun 11, 2017
1 parent aaf254d commit 82fab98
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# osuid

A quick way to get user's id on osu-web (osu!wiki tool)

## Usage

```bash
php osuid.php #Then follow the CLI note
```

## Dependency
- php-curl
2 changes: 1 addition & 1 deletion osuid.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
curl_close($curl);
$userid=str_replace('https://osu.ppy.sh/users/','',$effective_url);
if (!is_numeric($userid)) { die("User Not Found!\n"); }
echo "Your User ID:".$userid.".\n";
echo "{$username}'s ID:{$userid}\n";
?>

0 comments on commit 82fab98

Please sign in to comment.