Who is signed in
whoamiIdentifies the Leboncoin account your stored profile is signed in as. Returns error code if no session—use session_status for diagnosis.
Instructions
Returns the Leboncoin account the stored profile is signed in as. Throws with a precise code when there is no usable session - use session_status instead if you want a diagnosis rather than a failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | No | Leboncoin site to use (fr). Defaults to the server's configured site. |