Last active
November 21, 2018 21:06
-
-
Save wrygiel/4231796 to your computer and use it in GitHub Desktop.
Hello OKAPI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$okapi_base_url = "https://opencaching.pl/okapi/"; | |
$json = file_get_contents($okapi_base_url."services/apisrv/stats"); | |
$data = json_decode($json); | |
print "Number of OpenCaching.PL users: ".$data->user_count; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment