Skip to content
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

add documentation page for api playground #3060

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

cfahlgren1
Copy link

@cfahlgren1 cfahlgren1 commented Sep 12, 2024

add api playground to docs

the playground doesn't support auth yet, but plan to add soon

preview of docs page below

Dataset Viewer API Playground

The API Playground is a space that allows you to make requests to the Dataset Viewer API and visualize the results in real-time. It's a great way to explore the capabilities of the API and test different queries.

Dataset API Playground

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/datasets-server/datasets-api-playground.png"
alt="Dataset API Playground"
/>
</a>
Copy link
Collaborator

Choose a reason for hiding this comment

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

the opening tag is missing

Copy link
Member

@julien-c julien-c left a comment

Choose a reason for hiding this comment

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

i'd also (and maybe more so actually) link to it from https://huggingface.co/docs/hub/datasets-viewer

WDYT?


<div class="flex justify-center">
<img
src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/datasets-server/datasets-api-playground.png"
Copy link
Member

Choose a reason for hiding this comment

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

potentially you can do a slightly more catchy visual like @enzostvs had done for the API playground: https://huggingface.co/docs/hub/api

(and you can embed it in other doc pages too with a more fun / simpler call to action "want to try out the API?")

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