- Notifications
You must be signed in to change notification settings - Fork1
📡 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
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
📡 42 API AGGREGATOR scrape 42 api school into a mysql DB with onlyusefull informations usingnodejs &gruntjs
Seetables
- Installnodejs and make sure
npmis in yourPATH - Install grunt $>
npm install -g grunt-cli
$>git clone https://github.com/yfuks/42-API-AGGREGATOR.git && cd 42-API-AGGREGATOR && npm i
Create a new app on42 Intranet
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
$>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
About
📡 An aggregator of 42 school API written in node js used for 42charts
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published