go-xkcd alternatives and similar packages
Based on the "Third-party APIs" category.
Alternatively, view go-xkcd alternatives based on common mentions on social networks and blogs.
-
go-openai
OpenAI ChatGPT, GPT-3, GPT-4, DALL·E, Whisper API wrapper for Go -
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. -
lark
Feishu(飞书)/Lark Open API Go SDK, Support ALL Open API and Event Callback. -
openaigo
OpenAI GPT3/3.5 and GPT4 ChatGPT API Client Library for Go, simple, less dependencies, and well-tested -
hipchat (xmpp)
A golang package to communicate with HipChat over XMPP -
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 -
cachet
Go(lang) client library for Cachet (open source status page system). -
google-play-scraper
Golang scraper to get data from Google Play Store
Static code analysis for 29 languages.
Do you think we are missing an alternative of go-xkcd or a related project?
Popular Comparisons
README
go-xkcd
HTTP Client for the xkcd API.
Details on the xkcd API can be found here.
Install
Outside a project using go modules, get the latest version by running:
go get github.com/nishanths/go-xkcd
Inside a project using go modules, use:
go get github.com/nishanths/go-xkcd@latest
Example
The following program prints details about xkcd.com/599:
package main
import (
"context"
"fmt"
"log"
"github.com/nishanths/go-xkcd/v2"
)
func main() {
client := xkcd.NewClient()
comic, err := client.Get(context.Background(), 599)
if err != nil {
log.Fatal(err)
}
fmt.Printf("%s: %s\n", comic.Title, comic.ImageURL) // Apocalypse: http://imgs.xkcd.com/comics/apocalypse.png
}
Test
To run tests:
$ go test -race
Godoc
https://godoc.org/github.com/nishanths/go-xkcd
License
The MIT License. Copyright © Nishanth Shanmugham.
*Note that all licence references and agreements mentioned in the go-xkcd README section above
are relevant to that project's source code only.