amirinsight / py-bingx

A Python package to easily use BingX Perpetual Swap API. Can be used to automate trading on BingX.
MIT License
16 stars 2 forks source link

Add better headers #3

Open amirinsight opened 11 months ago

amirinsight commented 11 months ago

Currently this package is using super simple headers for it's requests. I need to add better headers.

The location of this constant is in the following link: https://github.com/amirinsight/py-bingx/blob/9b2942c7f0a4a2b0984b781c5f340c647e60e862/bingx/api.py#L17-L18

franciszek-szeptycki commented 11 months ago

Hi, I would be happy to take on this task, but please be more specific.... what does better headers mean?

amirinsight commented 11 months ago

I'm looking for multiple common user agents (To be chosen randomly from). You can also check the headers which the browser sends in this request.