one-zero-eight / events

Events API of InNoHassle ecosystem
https://api.innohassle.ru/events
MIT License
6 stars 1 forks source link

[Sport] Create new API that will work with Sport API #100

Open dantetemplar opened 2 weeks ago

dantetemplar commented 2 weeks ago

Describe the feature

one-zero-eight/sports

Is should have several endpoints:

Is should check Accounts user token and make request to InnoSport API on behave of the user. So this service will be kinda of Proxy or Facade

Suggested solution

Clone FastAPI template, remove everything related to databases.

See how requests to InnoSport API done: https://github.com/one-zero-eight/parsers/blob/871736f4cde3bff6c1450ea05b176634b4ed73d7/src/sports/parser.py

https://github.com/one-zero-eight/events/blob/b32356367db2f3ccb29ef552779de2092b98340a/src/modules/ics/utils.py#L136

Check InnoSport API Swagger: https://sport.innopolis.university/api/swagger/ login and explore relevant endpoints.

Additional context

No response

dantetemplar commented 3 days ago

https://github.com/one-zero-eight/sports