Skip to content

Conversation

@d-woosley
Copy link

Overview

This PR adds optional Google Custom Search API support. This implementation mirrors the approach recently added to PowerMeta in PowerMeta-API.

Changes

  • Added --api-key and --search-engine-id command-line flags for API authentication
  • New PyMetaAPI class in search.py handles all API interactions
  • Full backward compatibility (existing functionality remains unchanged)
  • Added pyproject.toml
  • Added notes on installing with pipx

Updated Files

  • pymeta/__init__.py - Added API argument parsing, validation, and conditional API usage
  • pymeta/search.py - New PyMetaAPI class with error handling and pagination
  • README.md - Documented API setup guide and usage. Added notes on pipx installation
  • requirements.txt, setup.py, pyproject.toml - Cleaned up dependencies
  • CHANGELOG.md - Documented all changes for v1.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant