schema

package
v1.10.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2026 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Movie

type Movie struct {
	ID               uint64   `json:"id"`
	Title            string   `json:"title"`
	OriginalLanguage string   `json:"original_language"`
	OriginalTitle    string   `json:"original_title"`
	ReleaseDate      string   `json:"release_date"`
	Overview         string   `json:"overview"`
	Genres           []uint64 `json:"genre_ids"`
	Video            bool     `json:"video,omitempty"`

	BackdropPath string `json:"backdrop_path"`
	PosterPath   string `json:"poster_path"`

	Popularity  float32 `json:"popularity,omitempty"`
	VoteAverage float32 `json:"vote_average,omitempty"`
	VoteCount   uint64  `json:"vote_count,omitempty"`

	Adult    bool `json:"adult,omitempty"`
	SoftCore bool `json:"softcore,omitempty"`
}

type MovieSearchRequest

type MovieSearchRequest struct {
	Term               string  `json:"query" arg:"" name:"query" help:"Search term."`
	IncludeAdult       *bool   `json:"include_adult,omitempty" negatable:"" help:"Include adult content in search results."`
	Language           *string `json:"language,omitempty" help:"Language for the search results."`
	PrimaryReleaseYear *string `json:"primary_release_year,omitempty" help:"Filter results by primary release year."`
	Page               *uint   `json:"page,omitempty" help:"Page number of the results."`
	Region             *string `json:"region,omitempty" help:"Filter results by region."`
	Year               *string `json:"year,omitempty" help:"Filter results by year."`
}

func (*MovieSearchRequest) Query

func (r *MovieSearchRequest) Query() url.Values

type MovieSearchResponse

type MovieSearchResponse struct {
	Page         uint64 `json:"page"`
	Results      []Movie
	TotalPages   uint64 `json:"total_pages"`
	TotalResults uint64 `json:"total_results"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL