Skip to content

Publish JSON format #54

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 6, 2025
Merged

Publish JSON format #54

merged 4 commits into from
Feb 6, 2025

Conversation

m-aciek
Copy link
Collaborator

@m-aciek m-aciek commented Feb 5, 2025

Potentially enables external uses of the data generated for the dashboard.

Ground for having a separate generation cycle with quality checks (#45 (comment)).

Sample JSON response:

[
  {
    "language": {
      "code": "pt-br",
      "name": "Portuguese"
    },
    "repository": "python/python-docs-pt-br",
    "branch": "3.13",
    "completion": 58.28396485229216,
    "translators": {
      "number": 155,
      "link": false
    },
    "visitors": 455709,
    "built": true,
    "in_switcher": true,
    "uses_platform": true,
    "contribution_link": "https://explore.transifex.com/python-doc/python-newest/"
  },
  {
    "language": {
      "code": "pl",
      "name": "Polish"
    },
    "repository": "python/python-docs-pl",
    "branch": "3.13",
    "completion": 9.45489244960439,
    "translators": {
      "number": 26,
      "link": false
    },
    "visitors": 41505,
    "built": true,
    "in_switcher": true,
    "uses_platform": true,
    "contribution_link": "https://explore.transifex.com/python-doc/python-newest/"
  }
]

📚 Documentation preview 📚: https://pydocs-translation-dashboard--54.org.readthedocs.build/

@m-aciek m-aciek requested a review from hugovk February 5, 2025 12:40
Copy link
Member

@StanFromIreland StanFromIreland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, lets get this merged!

Small suggestion but maybe also add a link to this at the bottom of the dashboard?

"Download a json copy of this data here"

Copy link

@willingc willingc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks @m-aciek.

Copy link
Member

@StanFromIreland StanFromIreland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has conflicts now due to 4254bbe

Resolved

@m-aciek
Copy link
Collaborator Author

m-aciek commented Feb 6, 2025

Small suggestion but maybe also add a link to this at the bottom of the dashboard?

"Download a json copy of this data here"

I'll add it in a follow-up PR.

@m-aciek m-aciek merged commit ff0c8a0 into main Feb 6, 2025
2 of 3 checks passed
@m-aciek m-aciek deleted the json branch February 6, 2025 14:52
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.

4 participants