golpilolz / stalksioapi
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 2
pkg:composer/golpilolz/stalksioapi
Requires
- php: >=7.3
- ext-json: *
- guzzlehttp/guzzle: ~6.0
This package is auto-updated.
Last update: 2025-12-20 01:48:24 UTC
README
Unofficial PHP library for https://stalks.io API
Installation
composer require golpilolz/stalksioapi
Usage
Initialisation
Init StalksIOApi with the API Key
<?php $api = new StalksIOApi('1234567890abcdefghijklm0987654321');
Available methods
Weeks
Current Week
<?php $api->currentWeek();
If you want specific week just add the date (If date is not a sunday the function find the sunday before)
<?php $api->week(new DateTime('now'));
Friends
List all user's friends
<?php $api->friends();
Profile
<?php $api->getUserProfile("someone");
<?php $api->currentUser();
<?php $api->updatePassport($passport);