You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's an obvious use case to use custom requests, and IMHO it would make sense to export UrlClass for that purpose. I am using UrlClass, because you, as a maintainer, know better which URLs are possible. As an example, I had no idea of the GC_API URL until I looked at the source code.
Right now I am importing UrlClass directly like this import gcUrl from 'garmin-connect/dist/garmin/UrlClass.js';
which is very flaky.
Thank you for all your time and effort!
P.S. If you would prefer it, I can create PR for this
The text was updated successfully, but these errors were encountered:
Hi, @Pythe1337N
Thank you for this library.
There's an obvious use case to use custom requests, and IMHO it would make sense to export UrlClass for that purpose. I am using UrlClass, because you, as a maintainer, know better which URLs are possible. As an example, I had no idea of the GC_API URL until I looked at the source code.
Right now I am importing UrlClass directly like this
import gcUrl from 'garmin-connect/dist/garmin/UrlClass.js';
which is very flaky.
Thank you for all your time and effort!
P.S. If you would prefer it, I can create PR for this
The text was updated successfully, but these errors were encountered: