Open dantetemplar opened 2 weeks ago
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
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.
No response
https://github.com/one-zero-eight/sports
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