Api interface
api/user - Returns the data of the current user. GET, Response: array of data from user profile
api/users/{login} - Returns the data of the selected user. GET, Parameters: login - User login, Reply: array of data from the user profile
api/dialogues Returns dialogues with users - GET, Parameters: page - page number, Response: array of dialogues
api/talk/{login} Returns private messages of the user - GET, Parameters: login - User login, page - page number, Reply: array of private messages
api/forums/{id} Returns messages from the topic in the forum - GET, Parameters: id, page - page number, Reply: array of forum topics
api/topics/{id} Returns posts from the topic in the forum - GET, Parameters: id, page - page number, Reply: array of posts
To access the data you need an API key, which can be obtained on the My Data page
Usage example
GET https://visavi.net/api/forums/1 { "token": "key", "page": 1 } // or /api/forums/1?token=key&page=1Returns json
{ "success": true, "data": { "login": "admin", "email": "my@domain.com", "name": "Alex", "country": "Russia", "city": "Moscow", "site": "https://visavi.net", "gender": "male", "birthday": "11.12.1981", "newwall": 0, "point": 8134, "money": 110675, "ban": 0, "allprivat": 1, "newprivat": 0, "status": "Status", "avatar": "", "picture": "", "rating": 567, "lastlogin": 1502102146 } }