Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 773 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 773 Bytes

SwiftyCompanion

Introduction to iOS development

An app that lets you search for any login within École 42 and shows a basic profile information for it

Image

Side note

How to test 42 API V2

First, get access to API by registering your app in intra -> settings -> register new app:

Make a note of your UID and SECRET

Get token

curl -X POST --data "grant_type=client_credentials&client_id=YOUR_UID&client_secret=YOUR_SECRET" https://api.intra.42.fr/oauth/token

Make requests

curl -H "Authorization: Bearer YOUR_ACCESS_TOKEN" "https://api.intra.42.fr/v2/users/dshults"