{"id":19509136,"url":"https://github.com/sustainablecommunitydevelopmenthub/chatbot-youtube-api","last_synced_at":"2026-04-16T22:31:16.454Z","repository":{"id":87073517,"uuid":"101457928","full_name":"SustainableCommunityDevelopmentHub/chatbot-youtube-api","owner":"SustainableCommunityDevelopmentHub","description":"API to fetch youtube videos in cards format for facebook messenger.","archived":false,"fork":false,"pushed_at":"2017-08-26T03:02:56.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-25T22:46:19.960Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SustainableCommunityDevelopmentHub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-26T02:50:24.000Z","updated_at":"2022-04-14T06:00:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"7710667b-14cb-4a4e-92ee-0d3b9a25b641","html_url":"https://github.com/SustainableCommunityDevelopmentHub/chatbot-youtube-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SustainableCommunityDevelopmentHub/chatbot-youtube-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SustainableCommunityDevelopmentHub%2Fchatbot-youtube-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SustainableCommunityDevelopmentHub%2Fchatbot-youtube-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SustainableCommunityDevelopmentHub%2Fchatbot-youtube-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SustainableCommunityDevelopmentHub%2Fchatbot-youtube-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SustainableCommunityDevelopmentHub","download_url":"https://codeload.github.com/SustainableCommunityDevelopmentHub/chatbot-youtube-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SustainableCommunityDevelopmentHub%2Fchatbot-youtube-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31907424,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-11-10T23:11:06.439Z","updated_at":"2026-04-16T22:31:16.329Z","avatar_url":"https://github.com/SustainableCommunityDevelopmentHub.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Known Vulnerabilities](https://snyk.io/test/github/prackky/chatbot-youtube-api/badge.svg)](https://snyk.io/test/github/prackky/chatbot-youtube-api)\n# chatbot-youtube-api\nAPI to fetch youtube videos in cards format for facebook messenger.\n\n## One click heroku deploy:\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)\n\nThis API takes GET request at /videoChannel path along with search parameters which can be as mentioned below:\n\n## 1. q\n### TYPE - STRING\nThe q parameter specifies the query term to search for.\n- q=Climate\n- q=Energy\n- q=Food\n- q=Land Management\n- q=Social Enterprise\n- q=Shelter\n- q=Transportation\n- q=Waste Management\n- q=Water\n        \nIf you just want to find the relavant videos just provide the \"q\" parameter with the string. And your URL will be like:\nhttps://scdhubvideobot.herokuapp.com/videoChannel?q=sustainable+community+development\nYou can also filter your search by providing more parameters mentioned below.\n        \n## 2. order\n### TYPE - STRING\nThe order parameter specifies the method that will be used to order resources in the API response. The default value is relevance.\n### Acceptable values are:\n- date – Resources are sorted in reverse chronological order based on the date they were created.\n- rating – Resources are sorted from highest to lowest rating.\n- relevance – Resources are sorted based on their relevance to the search query. This is the default value for this parameter.\n- title – Resources are sorted alphabetically by title.\n- videoCount – Channels are sorted in descending order of their number of uploaded videos.\n- viewCount – Resources are sorted from highest to lowest number of views. For live broadcasts, videos are sorted by number of concurrent   viewers while the broadcasts are ongoing.\n\nTODO: - order by number of comments\nTODO: - query closed captioned text  \n  \n## 3. videoDefinition\n### TYPE - STRING\nThe videoDefinition parameter lets you restrict a search to only include either high definition (HD) or standard definition (SD) videos. HD videos are available for playback in at least 720p, though higher resolutions, like 1080p, might also be available. If you specify a value for this parameter, you must also set the type parameter's value to video.\n\n### Acceptable values are:\n- any – Return all videos, regardless of their resolution.\n- high – Only retrieve HD videos.\n- standard – Only retrieve videos in standard definition.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsustainablecommunitydevelopmenthub%2Fchatbot-youtube-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsustainablecommunitydevelopmenthub%2Fchatbot-youtube-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsustainablecommunitydevelopmenthub%2Fchatbot-youtube-api/lists"}