icssc / peterportal-api-next

API that provides easy access to public data from UC Irvine. Developed for Anteaters, by Anteaters.
https://docs.icssc.club/anteaterapi
MIT License
6 stars 0 forks source link

feat: ✨ fuzzy SaaS #141

Open ecxyzzy opened 8 months ago

ecxyzzy commented 8 months ago

Summary

Implement fuzzy search as a service through REST and GraphQL (searchCourses and searchInstructors, since GraphQL doesn't support tagged union/sum types).

The total number of results is returned in the count field in the payload, and the result set (containing at most the requested number of results starting from the offset) is returned in the results field.

Parameters

Issues

Closes #131.