Samantaz Fox
cbabf0ae7e
Craft the "context" data in a dedicated function
...
As the amount of API endpoint function grow, this will
prevent ugly code copy/pasta
2021-05-24 13:44:49 +02:00
Samantaz Fox
344ccf3b03
Use '/youtubei/v1/browse' endpoint for playlists
2021-05-24 13:19:28 +02:00
Samantaz Fox
26a7e1b049
Use '/youtubei/v1/search' endpoint for search queries
2021-05-24 13:19:28 +02:00
Samantaz Fox
43bd331e48
Multiple youtube_api.cr helper fixes
...
Add documentation
Bump web client version string
Add charset=UTF-8 to the 'content-type' header
Parse JSON and return it as a Hash
Handle API error messages
2021-05-24 13:19:28 +02:00
Samantaz Fox
aaefa38602
Make the linter happy
2021-03-21 16:05:50 +01:00
Samantaz Fox
f99d62a2bc
Create youtube API wrapper fo /youtubei/v1/browse
2021-03-21 15:44:18 +01:00