Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Zfour/python_github_calendar_api
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: resourceOvO/python_github_calendar_api
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 8 commits
  • 3 files changed
  • 2 contributors

Commits on Jun 25, 2026

  1. fix: replace HTML scraping with GitHub GraphQL API

    - Old approach scraped data-date/sr-only from profile page (broken)
    - New approach uses GitHub GraphQL API v4 for reliable data
    - Token read from GITHUB_TOKEN environment variable
    - Maintains same JSON response format
    
    Co-Authored-By: Claude <[email protected]>
    resourceOvO and claude committed Jun 25, 2026
    Configuration menu
    Copy the full SHA
    e37944e View commit details
    Browse the repository at this point in the history
  2. fix: add error handling and vercel.json config

    - Added progressive error handling to help diagnose issues
    - Health check when no username provided
    - Token status check when GITHUB_TOKEN is missing
    - Added vercel.json for Python runtime config
    
    Co-Authored-By: Claude <[email protected]>
    resourceOvO and claude committed Jun 25, 2026
    Configuration menu
    Copy the full SHA
    099de7f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8dc7df1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6343b1b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ed298f6 View commit details
    Browse the repository at this point in the history
  6. feat: rewrite root URL to API endpoint

    Co-Authored-By: Claude <[email protected]>
    resourceOvO and claude committed Jun 25, 2026
    Configuration menu
    Copy the full SHA
    fcb69d9 View commit details
    Browse the repository at this point in the history
  7. feat: default to resourceOvO when no username specified

    - Root / now redirects to /api/ via vercel.json rewrites
    - Code defaults to resourceOvO when no query param
    - Cleaned up debug code
    
    Co-Authored-By: Claude <[email protected]>
    resourceOvO and claude committed Jun 25, 2026
    Configuration menu
    Copy the full SHA
    e2f5ae4 View commit details
    Browse the repository at this point in the history
  8. refactor: simplify code per cleanup review

    - Remove redundant flatten-sort-rechunk (API returns week-grouped ordered data)
    - Extract _json_response helper (deduplicate response-writing)
    - Hoist query and token to module-level constants
    - Use f-string for Authorization header
    - Make DEFAULT_USER configurable via env var
    
    Co-Authored-By: Claude <[email protected]>
    resourceOvO and claude committed Jun 25, 2026
    Configuration menu
    Copy the full SHA
    8ec4fd6 View commit details
    Browse the repository at this point in the history
Loading