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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file intra42api-0.0.1.tar.gz.

File metadata

  • Download URL: intra42api-0.0.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.1

File hashes

Hashes for intra42api-0.0.1.tar.gz
Algorithm Hash digest
SHA256 70e23a13530b4c543e2f6195dfcbddb9cfc4b9165c521afd67317547195a8676
MD5 8c96a4661f0247033724f85b6a3966ff
BLAKE2b-256 c23306d1d60accd60a89aeb87c3d8c4883c665745376eba57ff291c61d52a73c

See more details on using hashes here.

File details

Details for the file intra42api-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: intra42api-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.1

File hashes

Hashes for intra42api-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e078f9181020871f3eff3cd387b3f936caf1fcba929b7377d3c1457ca1b750f0
MD5 bf2b4bd23eabce66a449d309ced044c3
BLAKE2b-256 714047bf5edcfcbabad3f919584ac996075d930acffb32623c0e348c19fd8d3c

See more details on using hashes here.

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