Itch io download api

Itch io download api

itch io download api

The world's most popular and easiest to use icon set just got an upgrade. More icons. More styles. More Options. Itch.io is a website for users to host, sell and download indie video games. Released in March 2013 by Leaf Corcoran, the service hosts nearly 100,000 games. This is an exact mirror of the itch.io App project, hosted at https://itch.io/app. SourceForge is not affiliated with itch.io App. itch.io App is a trademark of itch corp. For more information, see the Last Updated: < 3 hours ago. Download Stats API. itch io download api

Itch io download api - sorry

Opinion: Itch io download api

Acer g206hql driver download Google picasa download for windows 10
Textbook pdf download Html5 responsive templates free download
Christmas polka song free download Dark heresy books pdf downloads
Download pdf as text based not image based Free game of chess download full version
Top downloadable pc games Download older os version magic leap

itchio

Index ¶

  • Variables
  • func DefaultRateLimiter() *rate.Limiter
  • func GameHookFunc(f reflect.Type, t reflect.Type, data interface{}) (interface{}, error)
  • func IsAPIError(err error) bool
  • func ParseAPIResponse(dst interface{}, res *http.Response) error
  • func UploadHookFunc(f reflect.Type, t reflect.Type, data interface{}) (interface{}, error)
  • type APIError
  • type APIKey
  • type Architectures
  • type Build
  • type BuildEvent
  • type BuildEventData
  • type BuildEventType
  • type BuildFile
  • type BuildFileState
  • type BuildFileSubType
  • type BuildFileType
  • type BuildState
  • type Channel
  • type Client
    • func (c *Client) CreateBuild(ctx context.Context, p CreateBuildParams) (*CreateBuildResponse, error)
    • func (c *Client) CreateBuildEvent(ctx context.Context, p CreateBuildEventParams) (*CreateBuildEventResponse, error)
    • func (c *Client) CreateBuildFailure(ctx context.Context, p CreateBuildFailureParams) (*CreateBuildFailureResponse, error)
    • func (c *Client) CreateBuildFile(ctx context.Context, p CreateBuildFileParams) (*CreateBuildFileResponse, error)
    • func (c *Client) CreateRediffBuildFailure(ctx context.Context, p CreateRediffBuildFailureParams) (*CreateRediffBuildFailureResponse, error)
    • func (c *Client) CreateUserGameSession(ctx context.Context, p CreateUserGameSessionParams) (*CreateUserGameSessionResponse, error)
    • func (c *Client) Do(req *http.Request) (*http.Response, error)
    • func (c *Client) FinalizeBuildFile(ctx context.Context, p FinalizeBuildFileParams) (*FinalizeBuildFileResponse, error)
    • func (c *Client) Get(ctx context.Context, url string) (*http.Response, error)
    • func (c *Client) GetBuild(ctx context.Context, p GetBuildParams) (*GetBuildResponse, error)
    • func (c *Client) GetBuildScannedArchive(ctx context.Context, p GetBuildScannedArchiveParams) (*GetScannedArchiveResponse, error)
    • func (c *Client) GetBuildUpgradePath(ctx context.Context, p GetBuildUpgradePathParams) (*GetBuildUpgradePathResponse, error)
    • func (c *Client) GetChannel(ctx context.Context, target string, channel string) (*GetChannelResponse, error)
    • func (c *Client) GetCollection(ctx context.Context, params GetCollectionParams) (*GetCollectionResponse, error)
    • func (c *Client) GetCollectionGames(ctx context.Context, params GetCollectionGamesParams) (*GetCollectionGamesResponse, error)
    • func (c *Client) GetGame(ctx context.Context, p GetGameParams) (*GetGameResponse, error)
    • func (c *Client) GetGameSessionsSummary(ctx context.Context, gameID int64) (*GetGameSessionsSummaryResponse, error)
    • func (c *Client) GetProfile(ctx context.Context) (*GetProfileResponse, error)
    • func (c *Client) GetResponse(ctx context.Context, url string, dst interface{}) error
    • func (c *Client) GetUpload(ctx context.Context, params GetUploadParams) (*GetUploadResponse, error)
    • func (c *Client) GetUploadScannedArchive(ctx context.Context, p GetUploadScannedArchiveParams) (*GetScannedArchiveResponse, error)
    • func (c *Client) GetUser(ctx context.Context, p GetUserParams) (*GetUserResponse, error)
    • func (c *Client) ListBuildEvents(ctx context.Context, buildID int64) (*ListBuildEventsResponse, error)
    • func (c *Client) ListBuildFiles(ctx context.Context, buildID int64) (*ListBuildFilesResponse, error)
    • func (c *Client) ListChannels(ctx context.Context, target string) (*ListChannelsResponse, error)
    • func (c *Client) ListGameUploads(ctx context.Context, p ListGameUploadsParams) (*ListGameUploadsResponse, error)
    • func (c *Client) ListProfileCollections(ctx context.Context) (*ListProfileCollectionsResponse, error)
    • func (c *Client) ListProfileGames(ctx context.Context) (*ListProfileGamesResponse, error)
    • func (c *Client) ListProfileOwnedKeys(ctx context.Context, p ListProfileOwnedKeysParams) (*ListProfileOwnedKeysResponse, error)
    • func (c *Client) ListUploadBuilds(ctx context.Context, params ListUploadBuildsParams) (*ListUploadBuildsResponse, error)
    • func (c *Client) LoginWithPassword(ctx context.Context, params LoginWithPasswordParams) (*LoginWithPasswordResponse, error)
    • func (c *Client) MakeBuildDownloadURL(p MakeBuildDownloadURLParams) string
    • func (c *Client) MakeBuildFileDownloadURL(p MakeBuildFileDownloadURLParams) string
    • func (c *Client) MakePath(format string, a ...interface{}) string
    • func (c *Client) MakeUploadDownloadURL(p MakeUploadDownloadURLParams) string
    • func (c *Client) MakeValuesPath(values url.Values, format string, a ...interface{}) string
    • func (c *Client) NewDownloadSession(ctx context.Context, p NewDownloadSessionParams) (*NewDownloadSessionResponse, error)
    • func (c *Client) OnOutgoingRequest(cb OnOutgoingRequest)
    • func (c *Client) OnRateLimited(cb OnRateLimited)
    • func (c *Client) PostForm(ctx context.Context, url string, data url.Values) (*http.Response, error)
    • func (c *Client) PostFormResponse(ctx context.Context, url string, data url.Values, dst interface{}) error
    • func (c *Client) SearchGames(ctx context.Context, params SearchGamesParams) (*SearchGamesResponse, error)
    • func (c *Client) SearchUsers(ctx context.Context, params SearchUsersParams) (*SearchUsersResponse, error)
    • func (c *Client) SetServer(itchioServer string) *Client
    • func (c *Client) Subkey(ctx context.Context, params SubkeyParams) (*SubkeyResponse, error)
    • func (c *Client) TOTPVerify(ctx context.Context, params TOTPVerifyParams) (*TOTPVerifyResponse, error)
    • func (c *Client) UpdateUserGameSession(ctx context.Context, p UpdateUserGameSessionParams) (*UpdateUserGameSessionResponse, error)
    • func (c *Client) WharfStatus(ctx context.Context) (*WharfStatusResponse, error)
  • type Collection
  • type CollectionGame
  • type Cookie
  • type CreateBuildEventParams
  • type CreateBuildEventResponse
  • type CreateBuildFailureParams
  • type CreateBuildFailureResponse
  • type CreateBuildFileParams
  • type CreateBuildFileResponse
  • type CreateBuildParams
  • type CreateBuildResponse
  • type CreateRediffBuildFailureParams
  • type CreateRediffBuildFailureResponse
  • type CreateUserGameSessionParams
  • type CreateUserGameSessionResponse
  • type DownloadBuildFileResponse
  • type DownloadKey
  • type DownloadUploadBuildResponse
  • type DownloadUploadBuildResponseItem
  • type FileUploadSpec
  • type FileUploadType
  • type FinalizeBuildFileParams
  • type FinalizeBuildFileResponse
  • type Game
  • type GameClassification
  • type GameCredentials
  • type GameEmbedData
  • type GameType
  • type GetBuildParams
  • type GetBuildResponse
  • type GetBuildScannedArchiveParams
  • type GetBuildUpgradePathParams
  • type GetBuildUpgradePathResponse
  • type GetChannelResponse
  • type GetCollectionGamesParams
  • type GetCollectionGamesResponse
  • type GetCollectionParams
  • type GetCollectionResponse
  • type GetGameParams
  • type GetGameResponse
  • type GetGameSessionsSummaryResponse
  • type GetProfileResponse
  • type GetScannedArchiveResponse
  • type GetUploadParams
  • type GetUploadResponse
  • type GetUploadScannedArchiveParams
  • type GetUserGameSessionsParams
  • type GetUserParams
  • type GetUserResponse
  • type ListBuildEventsResponse
  • type ListBuildFilesResponse
  • type ListChannelsResponse
  • type ListGameUploadsParams
  • type ListGameUploadsResponse
  • type ListProfileCollectionsResponse
  • type ListProfileGamesResponse
  • type ListProfileOwnedKeysParams
  • type ListProfileOwnedKeysResponse
  • type ListUploadBuildsParams
  • type ListUploadBuildsResponse
  • type LoginWithPasswordParams
  • type LoginWithPasswordResponse
  • type MakeBuildDownloadURLParams
  • type MakeBuildFileDownloadURLParams
  • type MakeUploadDownloadURLParams
  • type NewDownloadSessionParams
  • type NewDownloadSessionResponse
  • type OnOutgoingRequest
  • type OnRateLimited
  • type Platforms
  • type Query
    • func (q *Query) AddAPICredentials()
    • func (q *Query) AddBoolIfTrue(key string, value bool)
    • func (q *Query) AddGameCredentials(gc GameCredentials)
    • func (q *Query) AddInt64(key string, value int64)
    • func (q *Query) AddInt64IfNonZero(key string, value int64)
    • func (q *Query) AddString(key string, value string)
    • func (q *Query) AddStringIfNonEmpty(key string, value string)
    • func (q *Query) AddTime(key string, value time.Time)
    • func (q *Query) AddTimePtr(key string, value *time.Time)
    • func (q *Query) AddValues(values url.Values)
    • func (q *Query) Get(ctx context.Context, r interface{}) error
    • func (q *Query) Post(ctx context.Context, r interface{}) error
    • func (q *Query) URL() string
  • type Sale
  • type ScannedArchive
  • type ScannedArchiveObjectType
  • type SearchGamesParams
  • type SearchGamesResponse
  • type SearchUsersParams
  • type SearchUsersResponse
  • type SessionArchitecture
  • type SessionPlatform
  • type Spec
  • type SubkeyParams
  • type SubkeyResponse
  • type TOTPVerifyParams
  • type TOTPVerifyResponse
  • type UpdateUserGameSessionParams
  • type UpdateUserGameSessionResponse
  • type UpgradePath
  • type Upload
  • type UploadDownloadResponse
  • type UploadStorage
  • type UploadType
  • type User
  • type UserGameInteractionsSummary
  • type UserGameSession
  • type WharfStatusResponse

Constants ¶

Variables ¶

var ( // ErrBuildFileNotFound is returned when someone is asking for a non-existent file ErrBuildFileNotFound = errors.New("build file not found in storage") )

Functions ¶

func DefaultRateLimiter¶

func DefaultRateLimiter() *rate.Limiter

DefaultRateLimiter returns a rate.Limiter suitable for consuming the itch.io API. It is shared across all instances of Client, unless a custom limiter is set.

func GameHookFunc¶

func GameHookFunc( f reflect.Type, t reflect.Type, data interface{}) (interface{}, error)

GameHookFunc is used to transform API results from what they currently are to what we expect them to be.

func IsAPIError¶

func IsAPIError(err error) bool

IsAPIError returns true if an error is an itch.io API error, even if it's wrapped with github.com/pkg/errors

func ParseAPIResponse¶

func ParseAPIResponse(dst interface{}, res *http.Response) error

ParseAPIResponse unmarshals an HTTP response into one of out response data structures

func UploadHookFunc¶

func UploadHookFunc( f reflect.Type, t reflect.Type, data interface{}) (interface{}, error)

UploadHookFunc is used to transform API results from what they currently are to what we expect them to be.

Types ¶

type APIError¶

type APIError struct { Messages []string `json:"messages"` StatusCode int `json:"statusCode"` Path string `json:"path"` }

APIError represents an itch.io API error. Some errors are just HTTP status codes, others have more detailed messages.

func AsAPIError¶

func AsAPIError(err error) (*APIError, bool)

AsAPIError returns an *APIError and true if the passed error (no matter how deeply wrapped it is) is an *APIError. Otherwise it returns nil, false.

type APIKey¶

type APIKey struct { // Site-wide unique identifier generated by itch.io ID int64 `json:"id"` // ID of the user to which the key belongs UserID int64 `json:"userId"` // Actual API key value Key string `json:"key"` CreatedAt *time.Time `json:"createdAt"` UpdatedAt *time.Time `json:"updatedAt"` SourceVersion string `json:"sourceVersion"` }

An APIKey grants access to the itch.io API within a certain scope.

type Architectures¶

type Architectures string

Architectures describes a set of processor architectures (mostly 32-bit vs 64-bit)

const ( // ArchitecturesAll represents any processor architecture ArchitecturesAll Architectures = "all" // Architectures386 represents 32-bit processor architectures Architectures386 Architectures = "386" // ArchitecturesAmd64 represents 64-bit processor architectures ArchitecturesAmd64 Architectures = "amd64" )

type Build¶

type Build struct { // Site-wide unique identifier generated by itch.io ID int64 `json:"id"` // Identifier of the build before this one on the same channel,// or 0 if this is the initial build. ParentBuildID int64 `json:"parentBuildId"` // State of the build: started, processing, etc. State BuildState `json:"state"` // Automatically-incremented version number, starting with 1 Version int64
Источник: [https://torrent-igruha.org/3551-portal.html]

Itch io download api

2 thoughts to “Itch io download api”

Leave a Reply

Your email address will not be published. Required fields are marked *