Giter VIP home page Giter VIP logo

hms-core / hms-push-serverdemo-python Goto Github PK

View Code? Open in Web Editor NEW
21.0 14.0 18.0 223 KB

Python sample code encapsulates APIs of the HUAWEI Push Kit server. It provides many sample programs about quick access to HUAWEI Push Kit for your reference or usage.

Home Page: https://developer.huawei.com/consumer/cn/doc/development/HMS-Guides/push-introduction

Python 100.00%
python huawei push hms push-notifications sendmessage sever

hms-push-serverdemo-python's People

Contributors

hmspushkit avatar mike-mei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hms-push-serverdemo-python's Issues

Bug: installing the package

when run python setup.py install, the installation fill and return
error: package directory 'push_admin' does not exist
the directory needs to be changed in setup.py from packages=['push_admin'], to packages=['src/push_admin'],

Web Push需要配置appSecret吗?

您好,我正在尝试配置使用Web Push的功能;
send_webpush_message.py,我看到有三个配置项提示我配置

 app_id_at = "Your android application's app id"
 app_secret_at = "Your android application's app secret"
 app_id_push = "Your Web application' app id "

我能在开发者网站上找到我项目的app_id,于是我用这个id配置了 app_id_at app_id_push . 但运行程序后返回状态码400。
请问是因为我没有配置app_secret_at导致的吗? 可是我找不到在那里获取 app_secret_at

能给我一些指导吗, 到底需要怎么配置, 才能正常和华为Push服务器通信呢 ? 谢谢

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.