This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "total": 1, | |
| "records": [ | |
| { | |
| "key": "us/mt/dillon/33ebannackst", | |
| "long": "-112.63681", | |
| "lat": "45.21712", | |
| "city": "Dillon", | |
| "province": "MT", | |
| "country": "US", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| key,name,address,city,province,postalcode,country,long,lat,phone,website,twitter,facebook_page_url,dateUpdated,sic,naics,category,CareerPageUrl,numEmployees,revenue,revenueAmount,revenueCurrency,menulink,cuisine,price_details,review_1.date,additionalInfo_1.key,additionalInfo__1.value,additionalInfo_2.key,additionalInfo_2.value,additionalInfo_3.key,additionalInfo_3.value,additionalInfo_4.key,additionalInfo_4.value,additionalInfo_5.key,additionalInfo_5.value,additionalInfo_6.key,additionalInfo_6.value,additionalInfo_7.key,additionalInfo_7.value,additionalInfo_8.key,additionalInfo_8.value,review_1.title,review_1.text,review_1.rating,review_1.userID,review_1.sourceURL,review_2.date,review_2.title,review_2.text,review_2.rating,review_2.userID,review_2.sourceURL,review_3.date,review_3.title,review_3.text,review_3.rating,review_3.userID,review_3.sourceURL,review_4.date,review_4.title,review_4.text,review_4.rating,review_4.userID,review_4.sourceURL,review_5.date,review_5.title,review_5.text,review_5.rating,review_5.u |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $json_str = file_get_contents("https://gist.githubusercontent.com/shiondev/9569051/raw/69b7d357190c3c5dde7f23bd220a37752b290a2c/sample_datafiniti_json_with_reviews"); | |
| $json_obj = json_decode($json_str,true); | |
| echo "Name: " . $json_obj['records'][0]['name']; | |
| echo "Text of 1st Review: " . $json_obj['records'][0]['review'][0]['text']; | |
| ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "total": 1, | |
| "records": [ | |
| { | |
| "key": "857603002760", | |
| "name": "Sharkoon - X-tatic S7 Gaming Headset For Playstation 3 Xbox 360 and Windows", | |
| "type": "product", | |
| "dateUpdated": "2013-11-07T07:53:02Z", | |
| "category": [ | |
| "Computers & Tablets", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > curl -X PUT https://your_user_token:@api.80legs.com/v2/urllists/name_of_url_list -H "Content-Type: application/octet-stream" --data-binary "[\"http://www.example.com/\", \"http://www.sample.com/\", \"http://www.test.com/\"]" -i |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > curl -X GET https://your_user_token:@api.80legs.com/v2/urllists/ -H "Content-Type: application/octet-stream" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > curl -X PUT https://your_user_token:@api.80legs.com/v2/crawls/name_of_crawl -H "Content-Type: application/json" -d "{\"app\": \"full_page_content.js\", \"urllist\": \"name_of_url_list\", \"data\": \"name_of_data_file\", \"max_depth\": 1, \"max_urls\": 10 }" -i |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > curl -X GET https://your_user_token:@api.80legs.com/v2/crawls/name_of_crawl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > curl -X GET https://your_user_token:@api.80legs.com/v2/results/name_of_crawl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "location": "urllists/your_user_token/name_of_url_list", | |
| "name": "name_of_url_list", | |
| "user": "your_user_token", | |
| "date_created": "2014-3-18" | |
| } | |
| ] |
OlderNewer