1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-09-19 05:47:17 +03:00
leon/packages/trend
2021-12-27 18:37:42 +08:00
..
config feat(package/trend): basics done on the Product Hunt module 2019-04-07 14:01:04 +08:00
data style: use "impératif" tense for French language 2019-06-06 19:39:48 +08:00
test chore: upgrade Jest deps to latest 2021-12-27 18:37:42 +08:00
__init__.py feat(package/trend): expressions dataset and structure 2019-03-24 08:31:57 +08:00
github_lang.py feat(package/trend): GitHub module done 2019-03-24 23:26:53 +08:00
github.py fix(package/trend): GitHub module new scraping 2019-06-17 18:08:20 +02:00
producthunt.py feat(server): introduce actions module 2019-05-03 23:31:09 +08:00
README.md refactor(package/network): Speed Test module finalized + edit other packages readmes 2019-04-27 21:35:31 +08:00
version.txt feat(package/trend): expressions dataset and structure 2019-03-24 08:31:57 +08:00

Trend Package

The trend package contains modules related to trends.

Modules

GitHub

Grab the GitHub trends repositories according to several options.

Usage

(en-US) "What's trending on GitHub?"
(en-US) "Give me the 4 GitHub trends of this week for the JavaScript language"
(en-US) "What's the three GitHub trends of this month?"

(fr-FR) "Quelles sont les tendances sur GitHub ?"
(fr-FR) "Donne-moi les 4 tendances GitHub de cette semaine pour le langage JavaScript"
(fr-FR) "Donne-moi les trois tendances GitHub de ce mois"
...

Product Hunt

Grab the Product Hunt trends.

Usage

  1. Log in to your Product Hunt account.
  2. Add a new application (E.g. name: Leon; Redirect URI: https://localhost).
  3. Once your application is created, click Create Token.
  4. Copy the Developer Token and paste it in packages/trend/config/config.json at the producthunt.developer_token key.
(en-US) "What's trending on Product Hunt?"
(en-US) "What were the four first Product Hunt trends on the 7th of October 2018?"
(en-US) "What were the Product Hunt trends of yesterday?"

(fr-FR) "Quelles sont les tendances sur Product Hunt ?"
(fr-FR) "Donne-moi les 4 tendances Product Hunt du 7 octobre 2018"
...