You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can get the compression count after you have validated your API key or after you have made at least one compression request. So you can try this for example.
\Tinify\setKey('YOUR_API_KEY');
\Tinify\validate();
$count = \Tinify\compressionCount();
echo "Compressions this month: $count\n";
I am trying to get a compressed count with this line!
But it returns an empty value!
The text was updated successfully, but these errors were encountered: