-
Notifications
You must be signed in to change notification settings - Fork 12
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
Ok6245 support api v2.1 #17
base: master
Are you sure you want to change the base?
Commits on May 10, 2024
-
- change simple array of feeds to array of feed => feed-settings (idea from mysportsfeeds-node wrapper) - retrofit new array format to all API versions - update BaseApi methods to process new array format - subclasses of BaseApi don't need to override __determineUrl() anymore - updated __determineUrl() avoids duplication of feed names - feed list for each API version updated as best I can to match online API Documentation
Configuration menu - View commit details
-
Copy full SHA for f0fea52 - Browse repository at this point
Copy the full SHA f0fea52View commit details
Commits on May 11, 2024
-
Add module API_v2_1.php, support for missing v2.1 feeds
- new module only needs the v2.1 validFeeds array, in new refactored format - feed list taken from online API Documentation for v2.1 as best I can
Configuration menu - View commit details
-
Copy full SHA for c27ae17 - Browse repository at this point
Copy the full SHA c27ae17View commit details -
Public methods MySportsFeeds::getHTTPCode(), getURL()
Convenient for testing/debugging
Configuration menu - View commit details
-
Copy full SHA for 48a7bd9 - Browse repository at this point
Copy the full SHA 48a7bd9View commit details -
Internally, pass caller parameters as ordinary key => value array ins…
…tead of "..." token. We convert the ellipsis ... token format to key/value array everywhere parameters are needed anyway. Just do it once.
Configuration menu - View commit details
-
Copy full SHA for ec6c389 - Browse repository at this point
Copy the full SHA ec6c389View commit details
Commits on May 13, 2024
-
Required parm like 'date' with empty value should produce a syntax er…
…r msg, not return 404 response. Standardize verbose output with print() and E-O-L appropriate for running environment cli or web server.
Configuration menu - View commit details
-
Copy full SHA for d98f481 - Browse repository at this point
Copy the full SHA d98f481View commit details -
Update wrapper version to 2.1.1, require PHP >= 7.4.0
- MySportsFeeds::buildVersion = '2.1.1' to show support for API v2.1 - remove unneeded "use" statements from MySportsFeeds - update composer.json for required PHP version from 5.6 to 7.4.0 - update README.md with proposed new Release number 2.1.1
Configuration menu - View commit details
-
Copy full SHA for e39154c - Browse repository at this point
Copy the full SHA e39154cView commit details