Skip to main content

42Network API Wrapper

Project description

Intra42Api

Banner

Intra42Api is an API wrapper. Supports searches for Users, Campuses and Projects.

Github License Package

Installation

NOTE: Python 3.6 or higher is required.

# Windows
py -3.6 -m pip install intra42api

# Linux
python3.6 -m pip install intra42api

Example

import intra42api

intra = intra42api.Intra42()


intra.setToken('MY_AWESOME_UID', 'MY_AWESOME_SECRET')


user = intra.getUser('ID_OR_LOGIN')

print(f"""
        Login: {user['login']}
        Email: {user['email']}
        Full Name: {user['displayname']}
        Correction Points: {user['correction_point']}
        url: {user['url']}
""")

Change Log

0.0.1 (13/04/2022)

  • First Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

intra42api-0.0.1.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

intra42api-0.0.1-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page