Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review default value for 'force' option #18

Open
ok6245 opened this issue May 15, 2024 · 0 comments
Open

Review default value for 'force' option #18

ok6245 opened this issue May 15, 2024 · 0 comments

Comments

@ok6245
Copy link
Contributor

ok6245 commented May 15, 2024

The Online Documentation
https://www.mysportsfeeds.com/data-feeds/api-docs/ ==> Response Codes
says that if a 'force' option is not specified by the user, it will default to true:

"The default behaviour without force specified, is "true", which will return content regardless. It's then up to you to determine whether or not the content has actually changed."

Unless I'm missing something, looking at the code in the PHP, Python and Node wrappers, it appears to me that it defaults to false when not specified.

Also, in the PHP wrapper, the code that handles 'force' looks at the storeType value, but the other wrappers don't?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant