Metadata-Version: 2.1
Name: py-openapi-apollo-client
Version: 1.0.1
Summary: python-apollo客户端封装
Home-page: https://github.com/longweiqiang/py_openapi_apollo_client
Author: Weiqiang.long
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown

# py_openapi_apollo_client
python-apollo客户端封装

### 支持的python版本
python3.x

### 功能点
1. 获取apollo中指定namespaceName下的配置数据
2. 修改apollo中指定namespaceName下的配置数据

### 说明
支持鉴权token的传入

### 安装
```shell script
pip install py-openapi-apollo-client
```

### 二次开发
继承PrivateApolloClient类后，增加自己的方法即可

### 官方接口文档
[Apollo开放平台](https://github.com/ctripcorp/apollo/wiki/Apollo%E5%BC%80%E6%94%BE%E5%B9%B3%E5%8F%B0)

### 使用
```python
from py_openapi_apollo_client.apollo_client import PrivateApolloClient

client = PrivateApolloClient(app_id='test', portal_address='http://test.com', authorization='xxx')
print(client.get_namespace_items_key(key='test.switch'))
```


