My Personal Test Actor avatar
My Personal Test Actor
Under maintenance
Try for free

No credit card required

View all Actors
This Actor is under maintenance.

This Actor may be unreliable while under maintenance. Would you like to try a similar Actor instead?

See alternative Actors
My Personal Test Actor

My Personal Test Actor

enchanted_clamp/my-actor-1
Try for free

No credit card required

This is my Test actor for Booking web scraper.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn mode

Node.js

Python

curl

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "search": "New York",
8  "maxPages": 2,
9  "sortBy": "distance_from_search",
10  "currency": "USD",
11  "language": "en-us",
12  "minMaxPrice": "0-999999",
13  "maxReviews": 10,
14  "proxyConfig": {
15    "useApifyProxy": true
16  },
17  "extendOutputFunction": "($) => { return {} }"
18}
19EOF
20
21# Run the Actor using an HTTP API
22# See the full API reference at https://docs.apify.com/api/v2
23curl "https://api.apify.com/v2/acts/enchanted_clamp~my-actor-1/runs?token=$API_TOKEN" \
24  -X POST \
25  -d @input.json \
26  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 3 monthly users
  • 41.4% runs succeeded
  • 0.0 days response time
  • Created in Apr 2023
  • Modified about 1 year ago
Categories