Next Place in San Francisco
Step 1: Select a dataset for testing
curl -X POST "https://api.sherpa.ai/v2/tracking/uploadDataset" \
-H "Authorization: Basic XXXX-SHERPA-TOKEN-XXXX" \
-H "Accept-Language: en-US" \
-H "Content-Type: application/json" \
-d "{\"url\":\"https://sh-ia-data.s3-eu-west-1.amazonaws.com/sherpa_data/synthetic_users/SanFrancisco_user_10001.json"}"
Processing this dataset may take some time. You will receive an email, once it is finished.
Step 2: Predict the actual Next Place Route
curl -X GET "https://api.sherpa.ai/v2/items/routes" \
-H "Authorization: Basic XXXX-SHERPA-TOKEN-XXXX" \
-H "Accept-Language: en-US" \
-H "Time-Zone: Europe/Madrid" \
-H "Sherpa-Request-Info:{\"lat\":37.7272, \"lon\":-123.032}"