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

Gallery API Route #1519

Merged
merged 2 commits into from
Mar 20, 2024
Merged

Conversation

GalaxyGamingBoy
Copy link
Member

Adds an API route (/api/gallery) that supports gallery game fetching.
Supported Query Params:

  • new: Filters only new games
  • query: Returns all games that match query
  • tags: A comma seperated string of tags that games must include

Copy link

vercel bot commented Mar 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sprig ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 20, 2024 2:17pm

Copy link

vercel bot commented Mar 14, 2024

@GalaxyGamingBoy is attempting to deploy a commit to the Hack Club Team on Vercel.

A member of the Team first needs to authorize it.

@vercel vercel bot temporarily deployed to Preview – sprig March 14, 2024 17:46 Inactive
Copy link
Contributor

@JosiasAurel JosiasAurel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is good. Perhaps you can make those changes?

src/pages/api/gallery.ts Outdated Show resolved Hide resolved
src/pages/api/gallery.ts Outdated Show resolved Hide resolved
@GalaxyGamingBoy GalaxyGamingBoy linked an issue Mar 20, 2024 that may be closed by this pull request
@vercel vercel bot temporarily deployed to Preview – sprig March 20, 2024 14:17 Inactive
@GalaxyGamingBoy GalaxyGamingBoy merged commit f3be181 into hackclub:main Mar 20, 2024
2 checks passed
Cosmin-Mare pushed a commit to Cosmin-Mare/sprig that referenced this pull request May 25, 2024
* Gallery API Route

* fix: Correct typrscript operator
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

Successfully merging this pull request may close these issues.

Gallery API Routes
2 participants