Skip to content

Add Views Data Service support - #73

Open
jbuckner wants to merge 1 commit into
mainfrom
views-api
Open

Add Views Data Service support#73
jbuckner wants to merge 1 commit into
mainfrom
views-api

Conversation

@jbuckner

Copy link
Copy Markdown
Owner

views(identifiers:) returns per-item view counts (all time, last 30
days, last 7 days) keyed by identifier. The service lives on its own
host and its response is keyed by raw identifiers, so it decodes with
explicit CodingKeys; convertFromSnakeCase would mangle identifiers
containing underscores.

Closes #56

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015u2FT1T8yYQsEztyKg6UGf
@codecov

codecov Bot commented Jul 17, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 67.50000% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.59%. Comparing base (230a09a) to head (1428906).

Files with missing lines Patch % Lines
InternetArchiveKit/InternetArchive.swift 58.82% 7 Missing ⚠️
InternetArchiveKit/Models/ItemViews.swift 0.00% 5 Missing ⚠️
InternetArchiveKit/InternetArchiveProtocols.swift 88.88% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #73      +/-   ##
==========================================
- Coverage   91.98%   90.59%   -1.39%     
==========================================
  Files          13       14       +1     
  Lines         686      723      +37     
==========================================
+ Hits          631      655      +24     
- Misses         55       68      +13     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

Add Views Data Service support

1 participant