ronoaldo / swgohapi

Cached, parsed https://swgoh.gg/ player profile data unofficial API
https://swgoh-api.appspot.com/
GNU Affero General Public License v3.0
1 stars 0 forks source link

Add batch/filter options to /v1/profile #5

Closed ronoaldo closed 9 months ago

ronoaldo commented 7 years ago

The current profile endpoint, /v1/profile/username, could be reworked to allow batch get / filter when no username is specified.

New /v1/profile/ endpoint that can return a list of profiles with the filter criteria via query string values:

If no query string values are specified, return an empty result.

To some extent, this proposal returns an unidimensional array equivalent of the current api for the first filter when only one profile is set.

ronoaldo commented 9 months ago

I'm no longer maintaining this project.