No recent searches
Popular Articles
Sorry! nothing found for
Posted over 4 years ago by leonchughes
I do not understand how to retrieve items by fieldname. For example, I have a spider that yields the field 'terms'.
When I use the endpoint to retrieve items by fieldname
curl -u APIKEY: https://storage.scrapinghub.com/items/53/34/7/fieldname
so my version is:
curl -u APIKEY: https://storage.scrapinghub.com/items/projectid/spiderid/jobid/terms
I receive a http 404 error through both python requests and Postman. How am I using this incorrectly?
0 Votes
1 Comments
leonchughes posted over 4 years ago
Your documentation in the Items API needs modification.
must include the item_no as well:
curl -u APIKEY: https://storage.scrapinghub.com/items/53/34/7/0/fieldname
note the extra '0/' for inclusion of item number
Login to post a comment
People who like this
This post will be deleted permanently. Are you sure?
I do not understand how to retrieve items by fieldname. For example, I have a spider that yields the field 'terms'.
When I use the endpoint to retrieve items by fieldname
so my version is:
I receive a http 404 error through both python requests and Postman. How am I using this incorrectly?
0 Votes
1 Comments
leonchughes posted over 4 years ago
Your documentation in the Items API needs modification.
must include the item_no as well:
note the extra '0/' for inclusion of item number
0 Votes
Login to post a comment