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

Limit API responses to only required fields #27

Merged
merged 1 commit into from
Aug 22, 2020
Merged

Conversation

dgw
Copy link
Member

@dgw dgw commented Aug 20, 2020

Search requests needn't return anything but the video ID, since the endpoint does not support all the parts we need and a second API request must be issued anyway to retrieve all the details.

Video requests can be pared down quite a bit to leave out stuff about thumbnails, player embedding, etc. that the plugin doesn't need.

Search requests needn't return anything but the video ID, since the
endpoint does not support all the `part`s we need and a second API
request must be issued anyway to retrieve all the details.

Video requests can be pared down quite a bit to leave out stuff about
thumbnails, player embedding, etc. that the plugin doesn't need.
@dgw dgw added the tweak label Aug 20, 2020
@dgw dgw added this to the 0.3.2 milestone Aug 20, 2020
@dgw dgw mentioned this pull request Aug 21, 2020
@dgw dgw merged commit 5d0076a into master Aug 22, 2020
@dgw dgw deleted the api-request-cleanup branch August 22, 2020 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant