fcm alternatives and similar packages
Based on the "Third-party APIs" category.
Alternatively, view fcm alternatives based on common mentions on social networks and blogs.
-
goamz
Popular fork of goamz which adds some missing API calls to certain packages. -
webhooks
:fishing_pole_and_fish: Webhook receiver for GitHub, Bitbucket, GitLab, Gogs -
githubql
Package githubv4 is a client library for accessing GitHub GraphQL API v4 (https://docs.github.com/en/graphql). -
twitter-scraper
Scrape the Twitter frontend API without authentication with Golang. -
openaigo
OpenAI GPT3/3.5 and GPT4 ChatGPT API Client Library for Go, simple, less dependencies, and well-tested -
gostorm
GoStorm is a Go library that implements the communications protocol required to write Storm spouts and Bolts in Go that communicate with the Storm shells. -
go-lark
An easy-to-use SDK for Feishu and Lark Open Platform (Instant Messaging API only) -
clarifai
DEPRECATED: please use https://github.com/Clarifai/clarifai-go-grpc -
go-trending
Go library for accessing trending repositories and developers at Github. -
simples3
Simple no frills AWS S3 Golang Library using REST with V4 Signing (without AWS Go SDK) -
go-tgbot
Golang telegram bot API wrapper, session-based router and middleware -
google-play-scraper
Golang scraper to get data from Google Play Store
Collect and Analyze Billions of Data Points in Real Time
Do you think we are missing an alternative of fcm or a related project?
Popular Comparisons
README
Firebase Cloud Notifications Client
Firebase Cloud Messaging for application servers implemented using the Go programming language. It's designed for simple push notification sending via HTTP API
Getting started
To install fcm, use go get:
go get gopkg.in/maddevsio/fcm.v1
Import fcm with the following:
import "gopkg.in/maddevsio/fcm.v1"
Sample usage
package main
import (
"fmt"
"log"
"gopkg.in/maddevsio/fcm.v1"
)
func main() {
data := map[string]string{
"msg": "Hello World1",
"sum": "Happy Day",
}
c := fcm.NewFCM("serverKey")
token := "token"
response, err := c.Send(fcm.Message{
Data: data,
RegistrationIDs: []string{token},
ContentAvailable: true,
Priority: fcm.PriorityHigh,
Notification: fcm.Notification{
Title: "Hello",
Body: "World",
},
})
if err != nil {
log.Fatal(err)
}
fmt.Println("Status Code :", response.StatusCode)
fmt.Println("Success :", response.Success)
fmt.Println("Fail :", response.Fail)
fmt.Println("Canonical_ids :", response.CanonicalIDs)
fmt.Println("Topic MsgId :", response.MsgID)
}
More examples can be found in /_examples/ directory
License
MIT License
Copyright (c) 2017 Mad Devs Developers
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*Note that all licence references and agreements mentioned in the fcm README section above
are relevant to that project's source code only.