Skip to content

Migrate XenoPy to xeno-canto API v3#14

Open
realzza wants to merge 3 commits intoappfrom
ziangzhou/2026-q1-maintain
Open

Migrate XenoPy to xeno-canto API v3#14
realzza wants to merge 3 commits intoappfrom
ziangzhou/2026-q1-maintain

Conversation

@realzza
Copy link
Copy Markdown
Owner

@realzza realzza commented Apr 28, 2026

Summary

  • migrate Query runtime integration from API v2 to v3 with key auth and safer request/download handling
  • add first-class v3 query params (sp, fam, grp, sex, stage, method, smp) and per_page
  • update packaging metadata/export, README usage, and CI action versions

Test plan

  • install with pip install -e . in venv
  • live retrieve_meta with valid key
  • live retrieve_recordings single download
  • verify README examples match v3 tag+key model

realzza added 3 commits April 27, 2026 21:28
Switch metadata retrieval to the v3 endpoint with API key support, add v3 tag coverage and per_page handling, and harden URL/download error handling for reliable runtime behavior.

Made-with: Cursor
Declare runtime dependencies and project metadata in pyproject, and add a xenopy module that re-exports Query so documented imports work consistently.

Made-with: Cursor
Document API key based v3 query patterns and supported parameters in README, and bump GitHub Action pins to current major versions for security scanning workflows.

Made-with: Cursor
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