A
A
arkkitehti_taneli2021-07-29 15:07:28
Python
arkkitehti_taneli, 2021-07-29 15:07:28

How to use simple qiwi(python) library through proxy?

I am writing a telegram bot, the functionality of which is to connect to a qiwi wallet using the simple qiwi library using a token, create an account for payment with a specific comment, check if there are paid invoices with such a comment, send money from one wallet to another using this token.
The script is run on a server with a black ip, so qiwi wallets quickly fly off. I was recommended to use a proxy for these purposes. I bought access to private proxies for a day, but I don't know how to implement it in code.
I will be very grateful if you help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SKEPTIC, 2021-07-29
@pro100chel

As far as I know, there is no proxy support in simpleqiwi, as in other libraries for working with qiwi.
You need to either write requests on your own through requests, or dig into the simpleqiwi sources and adjust them so that all requests go through a proxy.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question