Skip to content

Releases: Lapis0875/proxy-www.py

Release 1.1.0

06 May 15:17
Compare
Choose a tag to compare

New syntax update!
Now proxy objects (www, http, https) supports http methods & request parameters :

# syntax details
await (proxy object : Union[www, http, https])[ http method : Union[HTTPMethod, str] ](*args, **kwargs)

Example code:

from proxy_www import https, GET

async def sample():
    resp = await (https.api.koreanbots.dev / 'v1/bots/get/541645954256863252')[GET](
        headers={"content-type": "application/json"}
    )
    print(await resp.json())

Release 1.0.1

03 May 07:08
Compare
Choose a tag to compare
  1. Fix malformed url error in 'http', 'https'.
  2. Fix repository url on PyPI

Release 1.0.0

03 May 06:54
Compare
Choose a tag to compare

You can download the package on PyPI : https://pypi.org/project/proxy-www/1.0.0/

or

pip install proxy-www