Skip to main content

Python client for the benmilne.com public API

Project description

benmilne-api

Python client for the benmilne.com public API.

All endpoints are public and unauthenticated. No API key required.

Install

pip install benmilne-api

Python

from benmilne_api import BenmilneAPI

api = BenmilneAPI()

# List recent posts
posts = api.posts(page=1)

# Get a single post
post = api.post("rate-of-change")

# Full-text search
results = api.search("payments")

# Search in Spanish
results = api.search("pagos", lang="es")

# Site metadata
site = api.site()

# Categories and tags
categories = api.categories()
tags = api.tags()

CLI

benmilne posts                     # List recent posts
benmilne post rate-of-change       # Get a single post
benmilne search "payments"         # Full-text search
benmilne search "pagos" --lang es  # Search in Spanish
benmilne categories                # List categories
benmilne tags                      # List tags
benmilne site                      # Site metadata
benmilne languages                 # Supported languages

API Reference

License

MIT

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

benmilne_api-1.0.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

benmilne_api-1.0.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file benmilne_api-1.0.0.tar.gz.

File metadata

  • Download URL: benmilne_api-1.0.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for benmilne_api-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ef45bc636d5d8cffc83450182f1cc0b119413ef4696a81777a3821cee49b90d2
MD5 3f4c1dc241635bfb3b94e3b3e7ada302
BLAKE2b-256 0891d7f96ab9f887b0a97a6ac6fc6449784e076cbf518003a93b6a2692f15ba1

See more details on using hashes here.

File details

Details for the file benmilne_api-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: benmilne_api-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for benmilne_api-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 27c5ad6cb15cba5af256ede6e99d68cc1e9ec94a31ef6ff390cadc632d6b4f2c
MD5 ca7fb257b6af928faae7354de04b755e
BLAKE2b-256 8762401537fd85e2eaf72078c782212cee03b0d27d5a8f9c36e7a06b40b1c1c2

See more details on using hashes here.

Supported by

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