All Projects → yilee → Xiaomi Push

yilee / Xiaomi Push

小米推送 golang sdk

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Xiaomi Push

Socket.io Push
整合了小米,华为,友盟,谷歌,苹果推送的统一解决方案
Stars: ✭ 605 (+1492.11%)
Mutual labels:  xiaomi, push-notifications
Onepush
消息推送用OnePush,就够了!
Stars: ✭ 1,401 (+3586.84%)
Mutual labels:  xiaomi, push-notifications
Authelia
The Single Sign-On Multi-Factor portal for web apps
Stars: ✭ 11,094 (+29094.74%)
Mutual labels:  push-notifications
Yeelight Platform
Yet Another Yeelight API in node.js
Stars: ✭ 35 (-7.89%)
Mutual labels:  xiaomi
Fuel Price
⛽ Check fuel prices daily in most of the states in India
Stars: ✭ 20 (-47.37%)
Mutual labels:  push-notifications
Demo Progressive Web App
🎉 A demo for progressive web application with features like offline, push notifications, background sync etc,
Stars: ✭ 798 (+2000%)
Mutual labels:  push-notifications
Date
A dating app that creates meaningful connections through food (Push notifications, Firebase, Chat, Schedule Calendar, Onboarding, Social media Login)
Stars: ✭ 29 (-23.68%)
Mutual labels:  push-notifications
Xiaomigateway3
Control Zigbee, BLE and Mesh devices from Home Assistant with Xiaomi Gateway 3 (ZNDMWG03LM) on original firmware
Stars: ✭ 617 (+1523.68%)
Mutual labels:  xiaomi
Miflora
Node.js package for the Xiaomi Plant Sensor Flower Care (Mi Flora)
Stars: ✭ 38 (+0%)
Mutual labels:  xiaomi
Xtoolkit.whitelabel
Modular MVVM framework for fast creating powerful cross-platform applications with Xamarin.
Stars: ✭ 22 (-42.11%)
Mutual labels:  push-notifications
Onesignal Python
Python client for OneSignal push notification service
Stars: ✭ 33 (-13.16%)
Mutual labels:  push-notifications
Thenetwork Open
TheNetwork is a blog cum chat app. It's completely built using firebase. Users can post, comment, like and bookmark the blogs, also users can send follow requests to connect with people. Users can create events and also prepare an event roadmap. Pagination for realtime data is also included in chats, blogs and events.
Stars: ✭ 17 (-55.26%)
Mutual labels:  push-notifications
Gaurun
General push notification server in Go
Stars: ✭ 804 (+2015.79%)
Mutual labels:  push-notifications
Easynotifylibproject
Send firebase notifications to your users very easily: A new Android Lib
Stars: ✭ 31 (-18.42%)
Mutual labels:  push-notifications
React Native Push Notification
React Native Local and Remote Notifications
Stars: ✭ 6,241 (+16323.68%)
Mutual labels:  push-notifications
Mibuy
小米商城抢购
Stars: ✭ 35 (-7.89%)
Mutual labels:  xiaomi
Countly Sdk Android
Countly Product Analytics Android SDK
Stars: ✭ 626 (+1547.37%)
Mutual labels:  push-notifications
Miui8 Xml Japanese
Japanese MIUI 8 translation for xiaomi.eu
Stars: ✭ 16 (-57.89%)
Mutual labels:  xiaomi
Zigbridge
Zigbee gateway implementation
Stars: ✭ 21 (-44.74%)
Mutual labels:  xiaomi
Homebridge Mi Aqara
a homebridge plugin for XiaoMi Aqara plugin.
Stars: ✭ 990 (+2505.26%)
Mutual labels:  xiaomi

xiaomi-push

小米推送服务 Golang SDK

Production ready, full golang implementation of Xiaomi Push API (http://dev.xiaomi.com/console/?page=appservice&mod=push)

var client = xiaomipush.NewClient("yourappSecret", []string{"packageName"})

func main() {
    var msg1 *Message = xiaomipush.NewAndroidMessage("title", "body").SetPayload("this is payload1")
    client.Send(context.Background(), msg1, regID1)
}

Sender APIs

  • [x] Send(msg *Message, regID string)
  • [x] SendToList(msg *Message, regIDList []string)
  • [x] SendTargetMessageList(msgList []*TargetedMessage)
  • [x] SendToAlias(msg *Message, alias string)
  • [x] SendToAliasList(msg *Message, aliasList []string)
  • [x] SendToUserAccount(msg *Message, userAccount string)
  • [x] SendToUserAccountList(msg *Message, accountList []string)
  • [x] Broadcast(msg *Message, topic string)
  • [x] BroadcastAll(msg *Message) (*SendResult, error)
  • [x] MultiTopicBroadcast(msg *Message, topics []string, topicOP TopicOP)
  • [x] CheckScheduleJobExist(msgID string)
  • [x] DeleteScheduleJob(msgID string) (*Result, error)
  • [x] DeleteScheduleJobByJobKey(jobKey string) (*Result, error)

Stats APIs

  • [x] Stats(start, end, packageName string)
  • [x] GetMessageStatusByMsgID(msgID string) (*SingleStatusResult, error)
  • [x] GetMessageStatusByJobKey(jobKey string) (*BatchStatusResult, error)
  • [x] GetMessageStatusPeriod(beginTime, endTime int64) (*BatchStatusResult, error)

Subscription APIs

  • [x] SubscribeTopicForRegID(regID, topic, category string) (*Result, error)
  • [x] SubscribeTopicForRegIDList(regIDList []string, topic, category string) (*Result, error)
  • [x] UnSubscribeTopicForRegID(regID, topic, category string) (*Result, error)
  • [x] UnSubscribeTopicForRegIDList(regIDList []string, topic, category string) (*Result, error)
  • [x] SubscribeTopicByAlias(aliases []string, topic, category string) (*Result, error)
  • [x] UnSubscribeTopicByAlias(aliases []string, topic, category string) (*Result, error)

Feedback APIs

  • [x] GetInvalidRegIDs() (*InvalidRegIDsResult, error)

DevTools APIs

  • [x] GetAliasesOfRegID(regID string) (*AliasesOfRegIDResult, error)
  • [x] GetTopicsOfRegID(regID string) (*TopicsOfRegIDResult, error)
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].