{"id":16945000,"url":"https://github.com/mattetti/gvideo","last_synced_at":"2025-03-21T08:17:46.908Z","repository":{"id":435626,"uuid":"56565","full_name":"mattetti/gvideo","owner":"mattetti","description":"retrieve a google user's list of videos using his user id.","archived":false,"fork":false,"pushed_at":"2008-09-28T22:53:02.000Z","size":88,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T05:11:31.261Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"madewithlove/laravel-oauth2","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mattetti.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2008-09-25T23:03:20.000Z","updated_at":"2019-08-13T13:36:19.000Z","dependencies_parsed_at":"2022-07-04T16:09:13.410Z","dependency_job_id":null,"html_url":"https://github.com/mattetti/gvideo","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattetti%2Fgvideo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattetti%2Fgvideo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattetti%2Fgvideo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattetti%2Fgvideo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattetti","download_url":"https://codeload.github.com/mattetti/gvideo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244759961,"owners_count":20505716,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T21:19:34.353Z","updated_at":"2025-03-21T08:17:46.887Z","avatar_url":"https://github.com/mattetti.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"gvideo\n======\n\nA gem that provides access to a google users' videos\n\n$ gem sources -a http://gems.github.com (you only have to do this once)\n$ sudo gem install mattetti-gvideo\n\nUsage:\n    \n    begin \n      require 'minigems'\n    rescue LoadError \n      require 'rubygems'\n    end\n    require 'gvideo'\n    user = Gvideo::User.new(\"A005148908335059515423\")\n    videos = user.fetch_videos\n    videos.first.embed_player\n    \nor use conditions\n\n   user.fetch_videos(:title =\u003e \"Durex: The Garden\").first\n   videos = user.fetch_videos(:title =\u003e /Durex/)\n   videos = user.fetch_videos(:duration =\u003e 120)\n   videos = user.fetch_videos(:duration =\u003e 60..360)\n    \nor finally just retrieve a video by using the docid\n  \n    user.fetch_video(\"6977350643295106940\")\n\nVideo methods and attributes:\n---\n\n* docid (google video id)\n* title (title of the video)\n* video_url (google video url to watch the video)\n* duration (duration of the video in seconds)\n* duration_in_minutes (duration video in minutes)\n* thumbnail_url (url of the thumbnail representing the video)\n* embed_player (html snippet with the google video player)\n\nCheck lib/gvideo.rb for more \n\nYou can find a user's id by using firebug and inspect the call made to \"see more videos from a user\"\nYou can also click on one of the videos available from the \"see more videos from a user\" and click on one of the videos. The url will contain the user id.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattetti%2Fgvideo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattetti%2Fgvideo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattetti%2Fgvideo/lists"}