Use the Sessioncheck method to retrieve info about a user and his login status from a session ID. It is similar to the login method, except that you provide a session ID instead of the user's credentials.

Input parameters:

autologin if 1, attempt to log in user based on autologin cookie
PHPSESSID the session identifier, can also be passed via a cookie

Output:

On failure, return false. Otherwise, the output is an associative array containing the following elements:
 
sessionid 
username 
my_city user's default city
my_country user's default country
my_zip user's default postal code
totalbills number of entered notes
totalhits number of interesting hits

Example:

https://api.eurobilltracker.com/?m=sessioncheck&v=2&autologin=0


Current version: 2

Previous versions: 1

[ back ]