kadirgokhann / api42_ Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
-> In the src/credentials/settings.json, there is a key called "token". It represents the number of requests in a second. 7 is for Certified App. 3 is for Official App. 1 is for Default App. You can learn the type from https://profile.intra.42.fr/oauth/applications -> First run this python command to install all the dependencies pip3 install -r requirements.txt -> Then, in order to use the advantage of this module you need to use Python Intellisense in your VSCode. For that you need to install the following package: https://code.visualstudio.com/download https://marketplace.visualstudio.com/items?itemName=ms-python.python --> You just need to create a file : ./src/credentials/keys.json Example of that file exists there. You just need to replace the api secret and api key with your own and correct the name of that file. If you want to use API on the campus_id 49 { "_49_api_key": "xxxxxx", "_49_api_secret": "xxx", "_49_token": "xxxxxx", "_49_tokentime": "23/02/18 09:57:23" } and in the code you can create object like this: $api = API(49); ------------------------------------------------------------------------ If you want to use API on two campus_ids: You need to create a file ./src/credentials/keys.json like { "_49_api_key": "xxxxxx", "_49_api_secret": "xxx", "_49_token": "xxxxxx", "_49_tokentime": "23/02/18 09:57:23", "_50_api_key": "xxxxxx", "_50_api_secret": "xxx", "_50_token": "xxxxxx", "_50_tokentime": "23/02/18 09:57:23" } You can create object like this: $api = API(49); $api2 = API(50);
Could you implement the amendments part on there?
https://api.intra.42.fr/apidoc/2.0/amendments.html
Deadline: 23.02.2023
Reviewer: @kadirgokhann @kayrakirimli @caglakahriman
The requirements.txt file should only include the following libraries:
bunch==1.0.1
python-docx==0.8.11
GitPython==3.1.31
python-dotenv==0.21.1
python_dateutil==2.8.2
requests==2.28.1
Can everyone create a branch?
Could you implement the achievements part on there?
https://api.intra.42.fr/apidoc/2.0/achievements_users.html
Deadline: 23.02.2023
Reviewer: @kadirgokhann @miskirik @caglakahriman
Could you implement the achievements part on there?
https://api.intra.42.fr/apidoc/2.0/achievements.html
Deadline: 23.02.2023
Reviewer: @kadirgokhann @kayrakirimli @miskirik
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.