Unofficial PHP library for https://stalks.io API
composer require golpilolz/stalksioapi
Init StalksIOApi
with the API Key
<?php
$api = new StalksIOApi('1234567890abcdefghijklm0987654321');
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'));
List all user's friends
<?php
$api->friends();
<?php
$api->getUserProfile("someone");
<?php
$api->currentUser();
<?php
$api->updatePassport($passport);