### Likest API VK Access Token Management Methods Source: https://likest.ru/dev/index These methods manage the VKontakte access token associated with the user's Likest account, allowing for saving, retrieving, invalidating, and getting information about the VK application. ```APIDOC token.set: Description: Saves the VKontakte access_token to your Likest account. Parameters: (Implied: access_token) Returns: Confirmation of saving. token.get: Description: Retrieves the saved VKontakte access_token. Parameters: (Implied: user_token) Returns: The stored access_token. token.invalidate: Description: Invalidates (deletes) the stored VKontakte access_token. Parameters: (Implied: user_token) Returns: Confirmation of invalidation. token.app: Description: Provides information about the VKontakte Standalone application used and its required permissions. Parameters: (Implied: user_token) Returns: Application details and permissions. ``` -------------------------------- ### Likest API Task Execution Methods (Orders - Get) Source: https://likest.ru/dev/index These methods are used to retrieve specific types of tasks (orders) for execution, such as getting tasks for likes, poll votes, comments, reposts, friend additions, or group subscriptions. ```APIDOC orders.getLikes: Description: Retrieves a task for 'Likes' (Мне нравится) engagement. Parameters: (Details not provided in text) Returns: A task object for likes. orders.getPolls: Description: Retrieves a task for voting in polls. Parameters: (Details not provided in text) Returns: A task object for poll votes. orders.getComments: Description: Retrieves a task for leaving comments. Parameters: (Details not provided in text) Returns: A task object for comments. orders.getReposts: Description: Retrieves a task for 'Share with friends' (reposts). Parameters: (Details not provided in text) Returns: A task object for reposts. orders.getFriends: Description: Retrieves a task for adding friends on VKontakte. Parameters: (Details not provided in text) Returns: A task object for friend additions. orders.getGroups: Description: Retrieves a task for subscribing to communities (groups). Parameters: (Details not provided in text) Returns: A task object for group subscriptions. orders.accept: Description: Accepts a selected task from the list for execution. Parameters: (Implied: task_id) Returns: A link or confirmation for the accepted task. ``` -------------------------------- ### Likest API System Information Methods Source: https://likest.ru/dev/index These methods provide information about the system's current load and rate limits, helping users understand API performance and usage constraints. ```APIDOC system.load: Description: Provides data on the current server load (deprecated). Parameters: None Returns: Server load data. system.getRateLimit: Description: Provides data on current request frequency limitations. Parameters: None Returns: Rate limit information. ``` -------------------------------- ### Likest API Coupon Management Methods Source: https://likest.ru/dev/index These methods provide functionality for creating new coupons, applying existing coupons, and viewing a list of coupons associated with the user's account. ```APIDOC coupons.create: Description: Creates one or more new coupons. Parameters: (Details not provided in text) Returns: Information about the created coupons. coupons.use: Description: Applies or uses existing coupons. Parameters: (Implied: coupon_code) Returns: Status of coupon usage. coupons.list: Description: Retrieves a list of coupons associated with the user's account. Parameters: (Details not provided in text) Returns: A list of coupon information. ``` -------------------------------- ### Likest API Request Structure and Response Formats Source: https://likest.ru/dev/index This section outlines the fundamental structure for making API requests to Likest, including the base URL, method naming conventions, parameter usage, and the supported response formats (JSON, XML, TXT). It also explains the common 'status' field present in all API responses and the requirement for 'user_token' for certain authenticated methods. ```APIDOC Base URL: likest.ru/api/"METHOD_NAME"?"PARAMETERS" METHOD_NAME: The name of the API method to execute. PARAMETERS: Optional query parameters for the request. Authentication: Some methods require a 'user_token', which is obtained via the 'users.login' method after successful authorization. Default Response Format: JSON Example JSON Response: { "status":"SUCCESS", "balance":504321 } Alternative Response Formats: XML, TXT To specify a format, append 'format=xml' or 'format=txt' to the request parameters. Example XML Response: SUCCESS 504321 Common Response Field: status: Indicates the success or failure of the request. Its value can be general (common to all methods) or unique to a specific method (details provided in method descriptions). ``` -------------------------------- ### Likest API Task Creation Methods (Orders - Set) Source: https://likest.ru/dev/index This method allows users to create new tasks (orders) for social media engagement, such as setting up a campaign for likes. ```APIDOC orders.setLikes: Description: Creates a new order for 'Likes' engagement. Parameters: (Implied: target_url, quantity, etc.) Returns: Confirmation and details of the created order. ``` -------------------------------- ### Likest API User Account Management Methods Source: https://likest.ru/dev/index These methods are essential for managing user accounts, including authentication, retrieving profile data, editing account details, and updating profile information from VKontakte. ```APIDOC users.login: Description: Authenticates a user account within the system. Parameters: (Implied: username, password) Returns: A 'user_token' upon successful authentication. users.get: Description: Retrieves profile data for the user's account. Parameters: (Implied: user_token) Returns: User profile details. users.edit: Description: Allows modification of the user's email and/or password. Parameters: (Implied: user_token, new_email, new_password) Returns: Confirmation of update. users.update: Description: Updates user profile data from their VKontakte page. Parameters: (Implied: user_token) Returns: Confirmation of data update. ``` -------------------------------- ### Likest API Balance Management Methods Source: https://likest.ru/dev/index These methods allow users to query their current balance and transfer funds to other participants within the Likest system. ```APIDOC balance.get: Description: Retrieves the current balance of the user's account. Parameters: None Returns: Current balance value. balance.transfer: Description: Transfers all or a portion of the user's balance to another system participant. Parameters: (Implied: recipient_id, amount) Returns: Confirmation of the transfer. ``` -------------------------------- ### Likest API Storage Methods Source: https://likest.ru/dev/index This method allows users to store arbitrary data within their Likest account, providing a simple key-value storage mechanism. ```APIDOC storage.set: Description: Saves arbitrary data to the user's Likest account. Parameters: (Implied: key, value) Returns: Confirmation of data storage. ``` -------------------------------- ### Likest API Task Viewing Methods (Orders - List) Source: https://likest.ru/dev/index These methods enable users to view lists of their previously created tasks (orders), either by retrieving all orders or by specifying their unique identifiers. ```APIDOC orders.list: Description: Retrieves a list of all orders created by the user. Parameters: (Details not provided in text) Returns: A list of order objects. orders.listByID: Description: Retrieves a list of orders based on their specific identifiers. Parameters: (Implied: order_ids) Returns: A list of specified order objects. ``` -------------------------------- ### Likest API CAPTCHA Handling Methods Source: https://likest.ru/dev/index This method is used to retrieve CAPTCHA images when recognition is required by other API operations, typically for security or anti-bot measures. ```APIDOC captcha.image: Description: Obtains an image for CAPTCHA recognition, usually requested by another method that encountered a CAPTCHA challenge. Parameters: (Details not provided in text) Returns: CAPTCHA image data. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.