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

FEATURE: Add fetching watch providers to movie and tv series services #130

Merged
merged 9 commits into from
Nov 28, 2023

Conversation

Tuikku
Copy link
Contributor

@Tuikku Tuikku commented Nov 23, 2023

No description provided.

@adamayoung
Copy link
Owner

Hey @Tuikku. Thanks for your PR. Did you see there is already a WatchProviders service that does this?

https://github.com/adamayoung/TMDb/blob/main/Sources/TMDb/WatchProviders/WatchProviderService.swift

@Tuikku
Copy link
Contributor Author

Tuikku commented Nov 23, 2023

Does this fetch the actual providers for individual series or movie? I think the service you linked just fetches all available for the region.

@adamayoung
Copy link
Owner

Ahhh, i understand now. Thanks for this.

Would appreciate you adding some unit tests around the changes you've made 🙏🏻

@Tuikku
Copy link
Contributor Author

Tuikku commented Nov 23, 2023

Yeah, I'll add some tests to this pr.

@Tuikku
Copy link
Contributor Author

Tuikku commented Nov 23, 2023

Added some unit tests, let me know what you think. Didn't add integration tests since watch providers for tv series or movie could change.

@adamayoung adamayoung merged commit a6fe9f1 into adamayoung:main Nov 28, 2023
9 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants