Code Monkey home page Code Monkey logo

trendgetter-api's Introduction

Trendgetter Official API

GitHub package.json version GitHub

Check it out in action!

Trendgetter App


An API for getting trending content from various sites: YouTube, Google, Twitter, Reddit, GitHub and Snapchat.

Available Routes & Explanations:


Index

The index page displaying help for the API.

/


Google

Google Trends API

Google allows users to view trends via Google Trends. On the daily page, there is an official RSS feed button. The feed can be easily parsed but if we inspect the page's source code, we find the following link which provides the data in JSON: https://trends.google.com/trends/trendingsearches/daily

/google


YouTube

YouTube Videos API

YouTube has an official API for retrieving videos from the trending page: https://developers.google.com/youtube/v3/docs/videos/list

/youtube


Twitter

Twitter API

Twitter has an official API for retrieving trending hashtags: https://developer.twitter.com/en/docs/trends/trends-for-location/api-reference/get-trends-place

/twitter


Reddit

Reddit API

Reddit has an amazing API. You can add .json to almost any page to get it's posts. For example, the top posts of r/popular: https://www.reddit.com/r/popular/top.json

/reddit


GitHub

GitHub doesn't have an official API, but it has a trending page which we can parse: https://github.com/trending

We can also get trending developers: https://github.com/trending/developers

/github

/github/developers


Snapchat

Snapchat doesn't have an official API or a dedicated trending page, but they have a stories page and a map page: https://story.snapchat.com/ > https://map.snapchat.com/

The story page used to display popular and celebrity stories but now displayed random promotional ones. Older versions of this API used this as "trending" content because the map version wasn't readable. When Snapchat updated their site, they allowed the map to be read. The map showcases playlists of trending events.

URL to get the trending playlists: https://ms.sc-jpl.com/web/getSearchCards
URL to get playlist's content: https://ms.sc-jpl.com/web/getPoiPlaylist

/snapchat

/snapchat/:id


TikTok

TikTok doesn't have an official API but it has a trending page (https://www.tiktok.com/trending) although the content isn't fixed, every time you refresh, it changes. One thing that doesn't change are the trending hashtags: https://m.tiktok.com/node/share/discover

/tiktok


Donate

Help me improve this project! Any amount is much appreciated :)

Buy Me A Coffee

License

Copyright (C) 2020-present Zivsteve.
Licensed under the MIT license.
(See the LICENSE file for the whole license text.)

trendgetter-api's People

Contributors

zivsteve avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

trendgetter-api's Issues

youtube is not working

hi , thanks for this awesome API,
everthing is working except Youtube and tiktok.

error: JSON parse error , unexpected EOF

Broken Link on api.tgetter.com

Hello, I hope this message finds you well. I wanted to bring to your attention an issue I encountered while trying to access a link on the api.tgetter.com website.

Unfortunately, when I attempted to access the provided link, I was met with an error message indicating that the page could not be loaded. This suggests that the link might be broken or there could be an issue with the server hosting the content.

Thank you for your attention to this matter.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.