Skip to content
forked from peppage/kettle

Steam API client written in golang

License

Notifications You must be signed in to change notification settings

naeemrashid/kettle

 
 

Repository files navigation

Kettle GoDoc Go Report Card

Kettle is a simple Go package for accessing theSteam API, or xPaw documentation and the Storefront API.

If you find any errors please create an issue or I'll accept your pull request :)

Install

go get -u github.com/peppage/kettle

Usage

    httpClient := http.DefaultClient
    steamClient = kettle.NewClient(httpClient, "steamkey")
    
    // Get the full app list
    games, _, err := steamClient.ISteamAppsService.GetAppList()
    
    // Get reviews for a game
    d, _, err := steamClient.Store.AppReviews(&kettle.AppReviewsParams{
		AppID:    gameID,
		Language: "all",
	})
	
	// Get details about a game
	d, _, err := steamClient.Store.AppDetails(game.ID)

License

MIT License

Packages

No packages published

Languages

  • Go 100.0%