seniverse / Seniverse Api Demos
心知天气 API 产品使用调用示例
Stars: ✭ 201
Projects that are alternatives of or similar to Seniverse Api Demos
Koa Vue Notes Api
🤓 This is a simple SPA built using Koa as the backend, Vue as the first frontend, and React as the second frontend. Features MySQL integration, user authentication, CRUD note actions, and async/await.
Stars: ✭ 342 (+70.15%)
Mutual labels: api, demo
Flutter Ui Nice
More than 130+ pages in this beautiful app and more than 45 developers has contributed to it.
Stars: ✭ 3,092 (+1438.31%)
Mutual labels: api, demo
Springboot Elasticsearch
基于springboot的web项目,通过elasticsearch提供的Java API 进行查询操作.
Stars: ✭ 169 (-15.92%)
Mutual labels: api, demo
Tinyme
A tiny php framework based on flight and medoo with restful api service
Stars: ✭ 28 (-86.07%)
Mutual labels: api, demo
Laravel Hackathon Starter
💻 A hackathon/MVP boilerplate for laravel web applications. Start your hackathons without hassle.
Stars: ✭ 1,589 (+690.55%)
Mutual labels: api, demo
Flutter Tiktok Ui Api Clone
Flutter Tiktok UI API Clone
Stars: ✭ 139 (-30.85%)
Mutual labels: api, demo
Mocapnet
We present MocapNET2, a real-time method that estimates the 3D human pose directly in the popular Bio Vision Hierarchy (BVH) format, given estimations of the 2D body joints originating from monocular color images. Our contributions include: (a) A novel and compact 2D pose NSRM representation. (b) A human body orientation classifier and an ensemble of orientation-tuned neural networks that regress the 3D human pose by also allowing for the decomposition of the body to an upper and lower kinematic hierarchy. This permits the recovery of the human pose even in the case of significant occlusions. (c) An efficient Inverse Kinematics solver that refines the neural-network-based solution providing 3D human pose estimations that are consistent with the limb sizes of a target person (if known). All the above yield a 33% accuracy improvement on the Human 3.6 Million (H3.6M) dataset compared to the baseline method (MocapNET) while maintaining real-time performance (70 fps in CPU-only execution).
Stars: ✭ 194 (-3.48%)
Mutual labels: demo
Orly
🏈 Generate your own O'RLY animal book cover to troll your colleagues | 生成你自己的O'RLY动物书封面,让你的同事惊掉下巴
Stars: ✭ 199 (-1%)
Mutual labels: api
Co Cart
🛒 CoCart is a flexible, open-source solution to enabling the shopping cart via the REST API for WooCommerce.
Stars: ✭ 198 (-1.49%)
Mutual labels: api
Awesome Spring Boot
springboot 各种资料整理(demo、教程、网站、starter文档等),持续更新,欢迎pr。
Stars: ✭ 198 (-1.49%)
Mutual labels: demo
Aegis.cpp
Discord C++ library for interfacing with the API. Join our server:
Stars: ✭ 198 (-1.49%)
Mutual labels: api
心知天气 API 调用示例
请首先查看心知天气的文档来了解心知天气 API 的调用方式,以下是一些不同编程语言的示例代码,也欢迎给此项目提 PR 来添加更多不同语言的调用示例,同时也可以向心知天气申请以获得开发者认证。
代码示例
注意:所有代码示例仅做开发参考使用,不要在生产环境下暴露 key!生产环境下请通过后端进行签名验证。
常见问题
-
我在本地调试的时候,如何进行域名绑定?
本地调试时,请在 控制台 -> 产品管理 的对应产品页面将域名绑定填写为:
127.0.0.1
。若127.0.0.1
在本机无法访问,请注意是否开启了全局代理。 -
为什么我绑定了
127.0.0.1
但访问时报错(没有找到域名,或者报跨域请求的错误,常见于纯前端 API 调用时)?请通过
127.0.0.1
的链接,通过 jsonp 的形式访问,而不是localhost
,localhost
访问会跨域。请通过
127.0.0.1
的链接,通过 jsonp 的形式访问,而不是localhost
,localhost
访问会跨域。请通过
127.0.0.1
的链接,通过 jsonp 的形式访问,而不是localhost
,localhost
访问会跨域。 -
关于 API 调用问题
为了保证您账号的安全,不要纯前端进行 API 调用!仅仅通过前端调用会造成您的
uid
和key
暴露,可能会带来不必要的麻烦。推荐的调用方式有:- 后端进行 API 调用获取数据后交给前端渲染
- 或者后端构造 JSONP 形式的请求链接,交给前端调用
-
关于 API 调用失败的问题
可能的原因有:
-
ttl
有效时间过短 -
key
加密后的结果没有通过 Base64 编码 - 在构造签名的时候,参数的顺序不正确。参与签名的参数有 UNIX 时间戳
ts
,签名失效时间ttl
(单位为秒,缺省为 1800,可选)和公钥uid
。请确保:- 参数按照键字典升序排列,例如
ts=1443079775&ttl=300&uid=U123456789
或者ts=1443079775&uid=U123456789
-
ts
和ttl
的单位都是秒
- 参数按照键字典升序排列,例如
- Last but not least,请将 demo 内的 API key 等参数替换为自己账户的数据
-
其他第三方相关项目
- JavaScript
Contributors
muyinliu 💻 |
mokeyjay 💻 |
Liu Cheng a.k.a MaYi 💻 |
dazheng_wu 💻 |
hewieZ 💻 |
weishuaigithub 💻 |
Eric SHI 🚧 |
ecmadao 🚧 |
Maples7 🚧 |
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].