rawg-sdk-go alternatives and similar packages
Based on the "Third-party APIs" category.
Alternatively, view rawg-sdk-go alternatives based on common mentions on social networks and blogs.
-
githubql
Package githubv4 is a client library for accessing GitHub GraphQL API v4 (https://docs.github.com/en/graphql). -
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.
InfluxDB - Purpose built for real-time analytics at any scale.
Do you think we are missing an alternative of rawg-sdk-go or a related project?
README
RAWG Video Games Database Golang client
This is unofficial RAWG SDK GO. This library contains methods for interacting with RAWG API.
Installation
go get github.com/dimuska139/rawg-sdk-go
Usage
package main
import (
"fmt"
"net/http"
"strings"
"github.com/dimuska139/rawg-sdk-go"
)
func main() {
config := rawg.Config{
ApiKey: "yourapikey", // Your personal API key (see https://rawg.io/apidocs)
Language: "ru",
Rps: 5,
}
client := rawg.NewClient(http.DefaultClient, &config)
filter := rawg.NewGamesFilter().
SetSearch("Gta5").
SetPage(1).
SetPageSize(10).
ExcludeCollection(1).
WithoutParents()
data, total, err := client.GetGames(filter)
...
}
The tests should be considered a part of the documentation. Also you can read official docs.
API limitations
Only 5 requests per second allowed from one IP. The "Rps" parameter in configuration performs this limitation. So you don't worry about it.
License
RAWG SDK GO is released under the MIT License.
*Note that all licence references and agreements mentioned in the rawg-sdk-go README section above
are relevant to that project's source code only.