{"id":113,"date":"2020-03-08T03:25:00","date_gmt":"2020-03-08T11:25:00","guid":{"rendered":"http:\/\/wordpress-210328-1057968.cloudwaysapps.com\/?p=113"},"modified":"2020-06-11T08:35:52","modified_gmt":"2020-06-11T16:35:52","slug":"geoscreenshot-api-beta","status":"publish","type":"post","link":"https:\/\/wordpress-210328-1057968.cloudwaysapps.com\/geoscreenshot-api-beta\/","title":{"rendered":"GeoScreenshot API Beta"},"content":{"rendered":"\n
We’ve released an early version of the GeoScreenshot 2 API for our advanced plan users. Here is a brief tutorial on how to get started.<\/p>\n\n\n\n
Your API key is private and should not be shared with another person<\/strong>. If you need to create multiple API keys for different applications or users on your team, Geo allows you to create multiple keys and manage them individually. https:\/\/www.geoscreenshot.com\/userarea\/account\/api<\/p>\n\n\n\n <\/p>\n\n\n\n URL: https:\/\/api.geoscreenshot.com\/screenshot?<\/strong><\/p>\n\n\n\n Query String Params:<\/strong><\/p>\n\n\n\n For PNG: <\/strong>https:\/\/api.geoscreenshot.com\/screenshot\/png?apikey=<API_KEY>&url=https:\/\/news.ycombinator.com&country=de<\/p>\n\n\n\n For HTML: <\/strong>https:\/\/api.geoscreenshot.com\/screenshot\/html?apikey=<API_KEY>&url=https:\/\/news.ycombinator.com&country=de&no_precheck<\/p>\n\n\n\n For HAR: <\/strong>https:\/\/api.geoscreenshot.com\/screenshot\/har?apikey=<API_KEY>&url=https:\/\/news.ycombinator.com&country=de&no_precheck<\/p>\n\n\n\n For Console Output: <\/strong>https:\/\/api.geoscreenshot.com\/screenshot\/har?apikey=<API_KEY>&url=https:\/\/news.ycombinator.com&country=de&no_precheck<\/p>\n","protected":false},"excerpt":{"rendered":" We’ve released an early version of the GeoScreenshot 2 API for our advanced plan users. Here is a brief tutorial on how to get started. Step 1. Generate an API Key Your API key is private and should not be shared with another person. If you need to create multiple API keys for different applications […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"acf":[],"yoast_head":"\n
Navigate to My Account: <\/p>\n\n\n\n<\/figure>\n\n\n\n
Step 2. Make a request to the screenshot endpoint with your API key<\/h3>\n\n\n\n
Advanced capture settings<\/h4>\n\n\n\n
Advanced location settings<\/h4>\n\n\n\n
Sample Response:<\/h4>\n\n\n\n
\"_meta\": {\n \"uid\": \"fabd8fa3-c4aa-4a0f-9894-a3580b31ec74\",\n \"startTime\": 1591611008242,\n \"endTime\": 1591611020878,\n \"duration\": 12636,\n \"instanceId\": \"516e8d0cbddbf6b25f4d0218f87336ec_0\"\n },\n \"_hash\": {\n \"perceptual\": \"b00c07ef7cf7b001f0c7f0417071f07330f17bf1f00731c1fff03000f040f3f3\",\n \"html\": \"15e0cdc83fe612e296339b958f9d6934c8d056908a5b47f31f92bce740e60843\",\n \"png\": \"9a93408fe05bc13d71db4220039a5f3454de19a1078f5bbc2825fc5391ead329\",\n \"console\": \"83f976263ba5eece3baa5ec655439f41257dd62f1d55dfd66b98d08eac97345b\",\n \"har\": \"14d08a710f8d35fb498c218d959841dcdfa835ff92ef3a8dd1ed7f3e84590f53\",\n \"cookies\": \"b13ab3f6a59045b8ca7031e0032618280b3d49749902d1f255a1d0c5ce9de066\"\n },\n \"errors\": {\n \"html\": null,\n \"png\": null,\n \"navigate\": null\n },\n \"png\": \"https:\/\/s3.amazonaws.com\/geoscreenshot-static\/fabd8fa3-c4aa-4a0f-9894-a3580b31ec74.png\",\n \"html\": \"https:\/\/s3.amazonaws.com\/geoscreenshot-static\/fabd8fa3-c4aa-4a0f-9894-a3580b31ec74.html\",\n \"console\": \"https:\/\/s3.amazonaws.com\/geoscreenshot-static\/fabd8fa3-c4aa-4a0f-9894-a3580b31ec74.console.json\",\n \"har\": \"https:\/\/s3.amazonaws.com\/geoscreenshot-static\/fabd8fa3-c4aa-4a0f-9894-a3580b31ec74.har.json\",\n \"metrics\": {\n \"dnsLookup\": 0,\n \"tcpConnect\": 0,\n \"request\": 175,\n \"response\": 917,\n \"domLoaded\": 3859,\n \"domInteractive\": 1910,\n \"pageLoad\": 1,\n \"fullTime\": 4821\n },\n \"cookies\": \"https:\/\/s3.amazonaws.com\/geoscreenshot-static\/fabd8fa3-c4aa-4a0f-9894-a3580b31ec74.cookies.json\",\n \"ip\": \"69.197.157.130\",\n \"title\": \"Google News\",\n \"capture_id\": \"148936\",\n \"domain\": \"news.google.com\",\n \"url\": \"https:\/\/news.google.com\",\n \"metro_id\": \"us_mss_knsscty\",\n \"node_id\": \"us_mss_kns_1luhIL\",\n \"options\": \"{}\",\n \"created_at\": \"2020-06-08T10:10:21.000Z\",\n \"updated_at\": \"2020-06-08T10:10:21.000Z\"\n}<\/code><\/pre>\n\n\n\n
Step 3. Parse the JSON<\/h3>\n\n\n\n
Shortcut Endpoints<\/h2>\n\n\n\n