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
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/source/_toctree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
title: Quickstart
- local: analyze_data
title: Analyze a dataset on the Hub
- local: api_playground
title: API Playground
- title: Guides
sections:
- local: valid
Expand Down
11 changes: 11 additions & 0 deletions docs/source/api_playground.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Dataset Viewer API Playground

The [API Playground](https://huggingface.co/spaces/cfahlgren1/datasets-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.

<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?")

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

</div>
Loading