As a developer you might want to use the data gathered by your local WhatsSpy Public for other (educational) purposes. This page will describe what API calls are available and where the data is stored.
Where is the data stored?
The contacts, online times, groups etc are all stored in the Postgres database. You configured the database in api/config.php under $dbAuth. The database name is whatsspy and the schema name is public (default in postgres). If you would like to use this database for information you can connect to it using the same login information as stated in the $dbAuth.
The following tables exist:
whatsspy_config (one row with instance information)
If you want to inspect the database structure in more detail you can look at the generation script or the database itself with for example PgAdmin.
All these calls need the URL to your WhatsSpy Public instance in front (eg http://mydomain.com/whatsspy/). Replace the  in the urls with the values that you desire. Please note that the login function returns a SessionID that you need to resend with every request.
The WebUI that you use, uses the exact same calls. You can view these API calls by using Developers tools in your webbrowser. Remember to remove any parameters that you don't want to set (leaving these in will cause the value to be set to an empty string or null)!
Login to WhatsSpy Public as a client.
required: password used to login to the WebUI.
Note: not required to call when password is set to false in config.php
required: countrycode + local phonenumber (stripped any prefix 0's in front of countrycode and local phonenumber).
optional: Token authentication (used if cannot doLogin because you are an external visitor without the password). NOTE: This output differs than the information you get from a normal doLogin (information like phonenumbers is missing).
General: Get overview information
Get the overview information (as used by the WebUI).
optional: Token authentication (used if cannot doLogin because you are an external visitor without the password). NOTE: This output differs than the information you get from a normal doLogin (information like phonenumbers and other contacts is missing).