substack-api

v1.3.2 safe
1.8
Low Risk

Unofficial wrapper for the Substack API

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 9 test file(s) found

  • Test runner config found: conftest.py
  • 9 test file(s) detected (e.g. conftest.py)
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://nhagar.github.io/substack_api/
  • Detailed PyPI description (7100 chars)
○ Low Contributing Guide 2.0

No contributing guide or governance files found

  • No CONTRIBUTING, CODE_OF_CONDUCT, or governance files found
◈ Medium Type Annotations 5.0

Partial type annotation coverage

  • 36 type-annotated function signatures detected in source
○ Low Multiple Contributors 1.0

Could not retrieve contributor data from GitHub

  • GitHub API error: 401

🔬 Heuristic Checks

⚠ Outbound Network Calls score 9.0

Found 6 network call pattern(s)

  • s_path self.session = requests.Session() self.authenticated = False # Set default
  • om/api/v1/categories" r = requests.get(endpoint_cat, headers=HEADERS, timeout=30) r.raise_for_s
  • str(page_num) r = requests.get(full_url, headers=HEADERS, timeout=30) r.raise_f
  • out=30) else: r = requests.get(SEARCH_URL, headers=_DISCOVERY_HEADERS, params=params, timeo
  • 's own posts endpoint r = requests.get( f"https://{subdomain}.substack.com/api/v1/posts",
  • else: resp = requests.get(endpoint, headers=HEADERS, **kwargs) sleep(2) # Be
✓ Code Obfuscation

No obfuscation patterns detected

✓ Shell / Subprocess Execution

No shell execution patterns detected

✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

No author email provided

✓ Suspicious Page Links

All external links appear legitimate

⚠ Git Repository History score 3.0

GitHub API error: 401

  • GitHub API error: 401
⚠ Maintainer History score 6.0

3 maintainer concern(s) found

  • Author name is missing or very short
  • Author "" appears to have only 1 package on PyPI (new or inactive account)
  • Package has no PyPI classifiers (low effort / metadata quality)
✓ Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with substack-api
Build a simple Python application using the substack-api package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

No discussion yet. Be the first to share your thoughts!