Creators:
- Prasoon Soni
- Rishi Kaushal
An API for fetching YouTube videos and articles with the particular keywords given by user.
BASE_URL = https://happify-me-api.herokuapp.com
- For Fetching Youtube Videos
URL = BASE_URL/getvideos
Result
{
"video_results": [
{
"channel_link": "CHANNEL_LINK",
"channel_logo": "CHANNEL_LOGO",
"channel_name": "CHANNEL_NAME",
"video_description": "VIDEO_DESCRIPTION",
"video_length": "VIDEO_LENGTH",
"video_link": "VIDEO_LINK",
"video_thumbnail": "VIDEO_THUMBNAIL",
"video_title": "VIDEO_TITLE"
},]
}
- For Fetching Articles
URL = BASE_URL/getarticles
Result
{
"article_results": [
{
"article_description": "ARTICLE_DESCRIPTION",
"article_link": "ARTICLE_LINK",
"article_title": "ARTICLE_TITLE",
"link_to_display": "LINK_TO_DISPLAY"
},]
}
{
"api_key":"YOUR_SERPAPI_KEY",
"keyword":"YOUR_KEYWORD_TO_SEARCH"
}