diff --git a/README.md b/README.md index a506382..c8149fb 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,15 @@ Steam achivements statistics script. ## Usage -Copy file [steamzero.html](https://github.com/levelost/steamzero/releases/download/v0.09/steamzero.html) to your computer and open it in the browser (Chrome, Filefox, Opera, Yandex). Script works with public accounts only. - -If you want to see the human-readable code, open the file [/debug/index.html](https://github.com/levelost/steamzero/blob/master/debug/index.html). +1. Set up a web server with this PHP-page. Steam API doesn't work from a browser directly anymore because CORS restrictions. +1. Register for API-key at https://steamcommunity.com/dev/apikey + * Docs for Steam API are at https://steamcommunity.com/dev + * Script works with public accounts only. +1. Go to your own url, enter an username and enjoy! ## History +### v0.10 +* Re-did the whole thing with a PHP-piggyback to Steam API to navigate around CORS. ### v0.09 * Added information about recent games. * Redesigned statistics. diff --git a/index.php b/index.php new file mode 120000 index 0000000..a71df22 --- /dev/null +++ b/index.php @@ -0,0 +1 @@ +steamzero.php \ No newline at end of file diff --git a/steamzero.php b/steamzero.php new file mode 100644 index 0000000..bf75c51 --- /dev/null +++ b/steamzero.php @@ -0,0 +1,258 @@ + + + + Steam-Zero + + + + +
+

Achievements stats

+
+

Recently games

+
+
+
+

Achievements in games (%)

+
+
+
+
+ +
+
Enter Steam profile URL name (steamcommunity.com/id/ProfileName):



Works with public profiles only.
+
+
+ + + \ No newline at end of file