feat(cli): add youtube and instagram commands#18
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds APIMux CLI and skill support for the new YouTube and Instagram social-data capabilities.
Motivation
Pairs with the APIMux service social-source MVP so users can run brand-monitoring workflows from the CLI: search videos/accounts/posts, inspect details, collect comments/replies, and use YouTube transcripts for summarization.
Changes
apimux youtube ...commands for video search/detail/comments/replies, channel detail/videos, and transcripts.apimux instagram ...commands for search users/reels/hashtags, profile/posts/reels, post detail/comments/replies.skills/apimux-youtubeandskills/apimux-instagramdocumentation.query/cursor/count;youtube get_video_commentssupports--urlfrom live service schema.Testing
go test ./internal/commandmake testyoutube search_videos --query 'Pimax VR' --count 5youtube get_video_comments --url 'https://www.youtube.com/watch?v=dQw4w9WgXcQ' --count 5instagram get_user_profile --username pimaxofficialinstagram get_post_comments --url 'https://www.instagram.com/p/CODE/' --count 5youtube get_video_comments --helpexposes--urland--video-idfrom service schema.Risk
Low to medium: CLI command exposure only, schema-bound to service capabilities; existing commands are unchanged.