Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

📡 An aggregator of 42 school API written in node js used for 42charts

License

NotificationsYou must be signed in to change notification settings

42Charts/42-api-aggregator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📡 42 API AGGREGATOR scrape 42 api school into a mysql DB with onlyusefull informations usingnodejs &gruntjs

Seetables

Getting started

(node & grunt)

  • Installnodejs and make surenpm is in yourPATH
  • Install grunt $>npm install -g grunt-cli

(project & node_modules)

$>git clone https://github.com/yfuks/42-API-AGGREGATOR.git && cd 42-API-AGGREGATOR && npm i

Create a new app on42 Intranet

(Environments variables)

In the project root $>touch .env

then in your file add the following keys

DB_HOST=localhostDB_USER=rootDB_PASSWORD=DB_NAME=myDBFT_API_ENDPOINT=https://api.intra.42.frFT_API_UID=MY_APP_UIDFT_API_SECRET=MY_APP_SECRETFT_API_RATE_LIMIT_PER_SECOND=1.8FT_API_RATE_LIMIT_PER_HOUR=1200

(Start)

$>npm run scripts orgrunt

note: not all tasks are in the prompt, to see all available tasks rungrunt --helpto run a specific tasks you can rungrunt init-database wheregrunt specific-task

License

MIT

About

📡 An aggregator of 42 school API written in node js used for 42charts

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp