Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Field for Website Struct #105

Open
HammerMeetNail opened this issue Apr 25, 2021 · 0 comments
Open

Missing Field for Website Struct #105

HammerMeetNail opened this issue Apr 25, 2021 · 0 comments

Comments

@HammerMeetNail
Copy link

HammerMeetNail commented Apr 25, 2021

Hello,

website.go has the following struct:

type Website struct {
	ID       int             `json:"id"`
	Category WebsiteCategory `json:"category"`
	Trusted  bool            `json:"trusted"`
	URL      string          `json:"url"`
}

Game is also available via the API, but not exposed in this struct. See https://api-docs.igdb.com/#website

Can we add it? Should look like:

type Website struct {
	ID       int             `json:"id"`
	Category WebsiteCategory `json:"category"`
        Game     int             `json:"game"`
	Trusted  bool            `json:"trusted"`
	URL      string          `json:"url"`
}

Let me know if you want me to open a PR with this change. Thanks!

@HammerMeetNail HammerMeetNail changed the title Missing Fields for Website Struct Missing Field for Website Struct Apr 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant