#getting actor input schema

1 messages ยท Page 1 of 1 (latest)

wary cave
#

Hi. how to get an actor input-schema.json ?

cinder magnet
#

You want the input schema of an actor existing on the platform?

#

Which actor?

wary cave
#

I mean any actor

#

for example I want to create a GUI client for running actor and need the INPUT_SCHEMA.json to construct the GUI interface

#

is there any way to get the input-schema using api or else ?

cinder magnet
#

It doesn't seem possible

wary cave
#

Thanks. I guess I can scrape directly from the actor page. but I wonder if there an official way to do this ๐Ÿป

cinder magnet
#

@junior wolf Know of any potential way that I might be missing?

wary cave
#

yeah. for example https://apify.com/apify/web-scraper if you look on the HTML source there is <script id="__NEXT_DATA__" type="application/json">...... the input_schema is there ๐Ÿ˜ƒ

Apify

Crawls arbitrary websites using the Chrome browser and extracts data from pages using a provided JavaScript code. The actor supports both recursive crawling and lists of URLs and automatically manages concurrency for maximum performance. This is Apify's basic tool for web crawling and scraping.

cinder magnet
#

Scrape us!! Haha

#

Very excited to see what you build ๐Ÿ™‚ Be sure to share it in #๐Ÿ—จapify-chat once you deploy it!

wary cave
#

sure ๐Ÿ˜„ although I am a bit hesitate to use actor to scrap its own host, is it ethical ? ๐Ÿ˜„ maybe next updates will add the ability to get the schema using api.