{"categories":[{"label":"Internet","url":"https://skillfed.io/packages/category/internet/6"}],"enrichment":{"capability":"Provides OAuth2 and JWT utilities for communicating with Open edX services via REST APIs, wrapping the requests library with token management and caching.","skillfed_tags":["edx-platform","oauth2","rest-client"],"use_cases":["Build an Open edX microservice that needs to call the LMS or other platform APIs with OAuth2 authentication.","Integrate a third-party tool with Open edX by handling token management and REST calls automatically.","Develop a Django app within the Open edX platform that communicates with other platform services.","Cache and reuse OAuth2 tokens across multiple API requests to reduce token endpoint load."],"what_it_does":"edx-rest-api-client is a wrapper around the requests library that handles OAuth2 authentication and JWT token management for communicating with Open edX platform services. It provides the OAuthAPIClient class, which behaves like a requests.Session but automatically manages token retrieval and caching, reducing boilerplate in services that need to call other Open edX APIs.\n\nThe package is built for the Open edX ecosystem and depends on edx-django-utils for its TieredCache caching layer. It requires Django caching and middleware to be configured. You instantiate a client with an LMS root URL, client ID, and secret, then use it like any requests session\u2014the library handles token refresh transparently. Timeout configuration is supported both at client creation and per-request.","worth_installing":"Yes, if you are building within or integrating with the Open edX platform and need OAuth2-authenticated REST calls. The low install friction, active maintenance, permissive license, and zero known vulnerabilities make it a safe choice. Not relevant for non-Open edX projects."},"id":"edx-rest-api-client","links":{"html":"https://skillfed.io/packages/edx-rest-api-client","md":"https://skillfed.io/packages/edx-rest-api-client.md","pypi":"https://pypi.org/project/edx-rest-api-client/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-08","license_spdx":null,"license_treatment":"permissive","name":"edx-rest-api-client","python_support":"unspecified","summary":"Client utilities to access various Open edX Platform REST APIs."},"popularity":{"monthly_downloads":82528,"position":14158,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"7.0.0"}
