Romani Gate, v1.7
Posted on

Web service for an interaction with the Instagram* Direct API.
Add the get_user_by_name command.
* Запрещена в России / Banned in Russia.
Change Log
- add the
get_user_by_namecommand.
Features
- log in a bot account;
- working mode:
- run as a web service;
- control via the JSON-RPC like API;
- commands:
- send a text message to a specified user;
- send a link message to a specified user:
- automatic extract links from a message body;
- send a photo message to a specified user:
- automatic upload a specified photo to the Instagram* Direct:
- by an absolute path;
- by a path relative to a current working directory;
- automatic upload a specified photo to the Instagram* Direct:
- read an info of a specified user:
- by its ID;
- by its name;
- read an info of a thread with a specified user;
- read a history of a specified thread:
- automatic extract a text from a link message.
* Запрещена в России / Banned in Russia.
Commands
Get User By Name Command
Get user by name command format in the JSON Schema format:
{
"type": "object",
"required": ["name", "parameters"],
"additionalProperties": false,
"properties": {
"name": {"type": "string", "enum": ["get_user_by_name"]},
"parameters": {
"type": "object",
"required": ["user_name"],
"additionalProperties": false,
"properties": {"user_name": {"type": "string", "minLength": 1}}
}
}
}
Example:
{"name": "get_user_by_name", "parameters": {"user_name": "thewizardplusplus"}}
Screenshots
get_user_by_name() command in the Postman tool
