gcm alternatives and similar packages
Based on the "Third-party APIs" category.
Alternatively, view gcm 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
Clean code begins in your IDE with SonarLint
Do you think we are missing an alternative of gcm or a related project?
Popular Comparisons
README
gcm 

The Android SDK provides a nice convenience library (com.google.android.gcm.server) that greatly simplifies the interaction between Java-based application servers and Google's GCM servers. However, Google has not provided much support for application servers implemented in languages other than Java, specifically those written in the Go programming language. The gcm
package helps to fill in this gap, providing a simple interface for sending GCM messages and automatically retrying requests in case of service unavailability.
Documentation: http://godoc.org/github.com/Aorioli/gcm
Getting Started
To install gcm, use go get
:
go get github.com/Aorioli/gcm
Import gcm with the following:
import "github.com/Aorioli/gcm"
Sample Usage
Here is a quick sample illustrating how to send a message to the GCM server:
package main
import (
"fmt"
"net/http"
"time"
"github.com/Aorioli/gcm"
)
func main() {
// Create the message to be sent.
data := map[string]interface{}{"score": "5x1", "time": "15:10"}
regIDs := []string{"4", "8", "15", "16", "23", "42"}
m := new(gcm.Message)
m.RegistrationIDs = regIDs
m.Data = data
// Create a Sender to send the message.
sender := gcm.NewSender("sample_api_key", 2, time.Minute)
// Send the message and receive the response after at most two retries.
response, err := sender.Send(m)
if err != nil {
fmt.Println("Failed to send message:", err)
return
}
/* ... */
}
Contributing
Open up an issue describing the bug, enhancement or whatever so it's open for discussion.
Fork the repo, make your changes on a separate branch from master and create a pull request.