Metadata-Version: 2.1
Name: grasspy-requests
Version: 0.2.2271
Summary: Chinsese version of requests for grasspy
Home-page: https://gitee.com/laowu2019_admin/zwrequests
Author: Laowu Grasspy
Author-email: 760230681@qq.com
Project-URL: Bug Tracker, https://gitee.com/laowu2019_admin/zwrequests/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE

# 网络请求 (requests)

#### 介绍
优雅简单的 python requests 库的草蟒中文版

#### 安装方法

`python -m pip install -U grasspy-requests`

#### 使用简介

```python
GET 基本使用:

   >>> 导入 网络请求
   >>> 响应 = 网络请求.查_get('https://www.grasspy.cn')
   >>> 响应.状态码
   200
   >>> '中文编程' 在 响应.内容.解码('utf-8')
   True

... 或 POST:

   >>> 数据 = 字典型(key1='value1', 键2='值2')
   >>> 响应 = 网络请求.增_post('https://httpbin.org/post', 数据=数据)
   >>> 打印(响应.文本)
   {
     ...
     "form": {
       "key1": "value1",
       "\u952e2": "\u503c2"
     },
     ...
   }

当然也支持其他 HTTP 方法.
```
