# Path: modules/utils/http.py
# async def pre_send(bot, chat_id: Optional[str]=None, action: str='typing') -> None:
# async def send(bot, chat_id: Optional[str]=None, text: Optional[str]=None, data: dict={}) -> None:
# async def call(bot, method_name: str, http_method: str, **kwargs):
# async def perform_request(url, method, params={}):


from modules.utils import http
from lxml import html

async def main(bot, *args, **kwargs):
    """
    usd
    Get latest USD/RUB quote
    """
    try:
        url = 'https://ru.investing.com/currencies/usd-rub'

# Path: modules/utils/http.py
# async def pre_send(bot, chat_id: Optional[str]=None, action: str='typing') -> None:
# async def send(bot, chat_id: Optional[str]=None, text: Optional[str]=None, data: dict={}) -> None:
# async def call(bot, method_name: str, http_method: str, **kwargs):
# async def perform_request(url, method, params={}):


# Path: modules/user_usd.py
from modules.utils import http
from lxml import html


async def main(bot, *args, **kwargs):
    """
    usd
    Get latest USD/RUB quote
    """
    try:
        url = 'https://ru.investing.com/currencies/usd-rub'

        response_body = await http.perform_request(url, 'GET')