https://github.com/appgalleryconnect/agc-client-connector-demo
https://github.com/appgalleryconnect/agc-client-connector-demo
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/appgalleryconnect/agc-client-connector-demo
- Owner: AppGalleryConnect
- License: apache-2.0
- Created: 2022-12-12T01:40:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-16T03:54:10.000Z (over 3 years ago)
- Last Synced: 2024-12-28T14:42:34.358Z (over 1 year ago)
- Language: JavaScript
- Size: 975 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 天气查询
### 简介
这是一个使用DevEco低代码能力和AppGallery Connect提供的低代码SDK能力构建的天气查询页面。效果图如下:

### 相关权限
网络权限
### 使用方式
1. 在[AppGallery Connect控制台](https:://developer.huawei.com/consumer/cn/service/josp/agc/index.html)下载agconnect-services.json文件,至entry/src/main/resources/rawfile目录下

2. 在[AppGallery Connect控制台](https:://developer.huawei.com/consumer/cn/service/josp/agc/index.html)复制如下值,并配置到entry/src/main/api/config下的对应位置。

3. 运行端侧工程,在应用中查看功能是否正常,功能说明见下
### 功能说明
1. 启动应用显示首页内容,包括“商品广告”、“今日天气”、“未来天气”、三个内容卡片。
2. “商品”卡片使用低代码SDK提供的数据模型批量查询接口agconnect.callConnector接口实现。
3. “未来天气”卡片使用低代码SDK提供的连接器SDK提供,对接心知天气:https://www.seniverse.com/api 批量查询天气数据。
### 约束与限制
暂无