{"id":6173,"date":"2015-10-27T14:09:47","date_gmt":"2015-10-27T14:09:47","guid":{"rendered":"https:\/\/www.gosquared.com\/blog\/?p=6173"},"modified":"2019-11-28T11:42:57","modified_gmt":"2019-11-28T11:42:57","slug":"new-gosquared-api-docs","status":"publish","type":"post","link":"https:\/\/www.gosquared.com\/blog\/new-gosquared-api-docs","title":{"rendered":"The new GoSquared API docs"},"content":{"rendered":"<p><a href=\"https:\/\/www.gosquared.com\/docs\/api\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" src=\"\/\/static.gosquared.com\/images\/liquidicity\/15_10_27_apilaunch_06.png\" alt=\"GoSquared API docs icon\"\/><\/a><\/p>\n<p>The GoSquared API gives you the power of the GoSquared analytics platform for your own projects. Whether you want to build a data visualisation for internal purposes, a fully blown iOS app, or avoid building your own analytics backend for your startup \u2013 the answer can be found in the GoSquared API.<\/p>\n<h2>What\u2019s new?<\/h2>\n<p><a href=\"https:\/\/www.gosquared.com\/docs\/api\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" src=\"\/\/static.gosquared.com\/images\/liquidicity\/15_10_27_apilaunch_05.png\" alt=\"GoSquared API docs screenshot\"\/><\/a><\/p>\n<p>We\u2019ve introduced an entirely new <a href=\"https:\/\/www.gosquared.com\/docs\/api\/\" target=\"_blank\" rel=\"noopener noreferrer\">API documentation site<\/a> that brings together all the info you need to make use of everything in the GoSquared API. Before, we had separate documentation for the Tracking API, and the Now, Trends and Account APIs. By bringing everything together, it\u2019s now easier to find what you\u2019re looking for, and save time from switching between different parts of the GoSquared site.<\/p>\n<p>Aside from the changes to the GoSquared API docs, we\u2019ve also worked on improving the API itself. You\u2019ll now find much more robust errors and more consistent response formats. We\u2019ve also ensured the updates are fully backwards compatible so nothing in your existing apps and projects will be affected.<\/p>\n<h2>What can I do with the GoSquared API?<\/h2>\n<p>Everything you see in GoSquared can be used via our publicly documented APIs.<\/p>\n<p>The Tracking API enables you to send data to GoSquared easily from your own apps and sites \u2013\u00a0you can send data client-side, or you can send data server-side. If you can\u2019t see a library for your the language you\u2019re using, we\u2019d love to work with you to make a library that you need.<\/p>\n<p>The Now and Trends APIs enable you to retrieve real-time web analytics data that GoSquared has been collecting for you. You can pull out any of the data you see in the Now and Trends dashboards, and a whole lot more.<\/p>\n<p>Here\u2019s a few examples of what you can do with the GoSquared API:<\/p>\n<h3>3D Globe<\/h3>\n<p>All your visitors in real-time on a beautiful 3D Globe.<\/p>\n<p><a href=\"https:\/\/www.gosquared.com\/labs\/globe\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" src=\"\/\/static.gosquared.com\/images\/liquidicity\/15_10_27_apilaunch_02.png\" alt=\"GoSquared Labs 3D Globe\"\/><\/a><\/p>\n<h3>Sites Overview<\/h3>\n<p>All your sites on one screen, ordered by how popular they are in real-time.<\/p>\n<p><a href=\"https:\/\/www.gosquared.com\/labs\/overview\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" src=\"\/\/static.gosquared.com\/images\/liquidicity\/15_10_27_apilaunch_01.png\" alt=\"GoSquared Labs Sites Overview\"\/><\/a><\/p>\n<h3>Timeline Display<\/h3>\n<p>Minute-by-minute graph of your website traffic over time.<\/p>\n<p><a href=\"https:\/\/www.gosquared.com\/labs\/display\/timeline\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" src=\"\/\/static.gosquared.com\/images\/liquidicity\/15_10_27_apilaunch_03.png\" alt=\"GoSquared Labs Timeline Display\"\/><\/a><\/p>\n<h3>Show who\u2019s on a specific page<\/h3>\n<p>Show how many visitors are currently on each page of your site.<\/p>\n<p><a href=\"https:\/\/www.gosquared.com\/blog\/visitors-currently-on-this-page\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" src=\"\/\/static.gosquared.com\/images\/liquidicity\/15_10_27_apilaunch_04.png\" alt=\"GoSquared Visitors on current page in real-time\"\/><\/a><\/p>\n<h2>How did you build the new GoSquared API docs?<\/h2>\n<p>The API docs have been a fun engineering project where we\u2019ve experimented with some new technologies for the first time at GoSquared. We\u2019re using <a href=\"https:\/\/facebook.github.io\/react\/\" target=\"_blank\" rel=\"noopener noreferrer\">React<\/a>, and have switched over to using <a href=\"http:\/\/gulpjs.com\" target=\"_blank\" rel=\"noopener noreferrer\">Gulp<\/a> to generate static files for our marketing site. Stay tuned to the <a href=\"https:\/\/engineering.gosquared.com\" target=\"_blank\" rel=\"noopener noreferrer\">GoSquared Engineering Blog<\/a> \u2013 coming soon is an in-depth look at building the GoSquared API docs.<\/p>\n<h2>Where is the GoSquared People API?<\/h2>\n<p>Stay tuned, we\u2019re excited to share this with you. Join the GoSquared developer mailing list to be the first to know about updates to the GoSquared API.<\/p>\n<h2>Start playing with the GoSquared API today<\/h2>\n<p>We can&#8217;t wait to see what you build with the GoSquared API, and we think you&#8217;re going to love the new API docs. You don&#8217;t even need a GoSquared account to start playing with the API \u2013 you can use our demo API key and site token to grab real data in real-time to try things out.<\/p>\n<p><a href=\"https:\/\/www.gosquared.com\/docs\/\" target=\"_blank\" rel=\"noopener noreferrer\">Get started with the API now<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The GoSquared API gives you the power of the GoSquared analytics platform for your own projects. Whether you want to&#8230;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1586],"tags":[101,271],"class_list":["post-6173","post","type-post","status-publish","format-standard","hentry","category-gosquared-updates","tag-api","tag-developer"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v18.6 (Yoast SEO v19.0) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>The new GoSquared API docs - GoSquared Blog<\/title>\n<meta name=\"description\" content=\"What&#039;s new in the GoSquared API docs \u2013 entirely new documentation and all the GoSquared APIs in one place.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.gosquared.com\/blog\/new-gosquared-api-docs\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The new GoSquared API docs\" \/>\n<meta property=\"og:description\" content=\"What&#039;s new in the GoSquared API docs \u2013 entirely new documentation and all the GoSquared APIs in one place.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.gosquared.com\/blog\/new-gosquared-api-docs\" \/>\n<meta property=\"og:site_name\" content=\"GoSquared Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/GoSquared\" \/>\n<meta property=\"article:published_time\" content=\"2015-10-27T14:09:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-11-28T11:42:57+00:00\" \/>\n<meta property=\"og:image\" content=\"\/\/static.gosquared.com\/images\/liquidicity\/15_10_27_apilaunch_06.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@JamesJGill\" \/>\n<meta name=\"twitter:site\" content=\"@GoSquared\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"James Gill\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.gosquared.com\/blog\/#organization\",\"name\":\"GoSquared\",\"url\":\"https:\/\/www.gosquared.com\/blog\/\",\"sameAs\":[\"https:\/\/instagram.com\/gosquaredteam\",\"https:\/\/www.linkedin.com\/company\/go-squared-ltd.\",\"https:\/\/www.facebook.com\/GoSquared\",\"https:\/\/twitter.com\/GoSquared\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.gosquared.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.gosquared.com\/blog\/wp-content\/uploads\/2015\/07\/gosquared.png\",\"contentUrl\":\"https:\/\/www.gosquared.com\/blog\/wp-content\/uploads\/2015\/07\/gosquared.png\",\"width\":1270,\"height\":250,\"caption\":\"GoSquared\"},\"image\":{\"@id\":\"https:\/\/www.gosquared.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.gosquared.com\/blog\/#website\",\"url\":\"https:\/\/www.gosquared.com\/blog\/\",\"name\":\"GoSquared Blog\",\"description\":\"Turn visitors into customers.\",\"publisher\":{\"@id\":\"https:\/\/www.gosquared.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.gosquared.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.gosquared.com\/blog\/new-gosquared-api-docs#webpage\",\"url\":\"https:\/\/www.gosquared.com\/blog\/new-gosquared-api-docs\",\"name\":\"The new GoSquared API docs - GoSquared Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.gosquared.com\/blog\/#website\"},\"datePublished\":\"2015-10-27T14:09:47+00:00\",\"dateModified\":\"2019-11-28T11:42:57+00:00\",\"description\":\"What's new in the GoSquared API docs \u2013 entirely new documentation and all the GoSquared APIs in one place.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.gosquared.com\/blog\/new-gosquared-api-docs#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.gosquared.com\/blog\/new-gosquared-api-docs\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.gosquared.com\/blog\/new-gosquared-api-docs#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.gosquared.com\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The new GoSquared API docs\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/www.gosquared.com\/blog\/new-gosquared-api-docs#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.gosquared.com\/blog\/new-gosquared-api-docs#webpage\"},\"author\":{\"@id\":\"https:\/\/www.gosquared.com\/blog\/#\/schema\/person\/7b8729da7ca77395a2281bad91768fbe\"},\"headline\":\"The new GoSquared API docs\",\"datePublished\":\"2015-10-27T14:09:47+00:00\",\"dateModified\":\"2019-11-28T11:42:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.gosquared.com\/blog\/new-gosquared-api-docs#webpage\"},\"wordCount\":542,\"publisher\":{\"@id\":\"https:\/\/www.gosquared.com\/blog\/#organization\"},\"keywords\":[\"API\",\"Developer\"],\"articleSection\":[\"GoSquared Updates\"],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.gosquared.com\/blog\/#\/schema\/person\/7b8729da7ca77395a2281bad91768fbe\",\"name\":\"James Gill\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.gosquared.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/46c3ae1aefe2bdb6765a3153018aeba55de419fa36083b8dcdf9ee49ffcb5a2f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/46c3ae1aefe2bdb6765a3153018aeba55de419fa36083b8dcdf9ee49ffcb5a2f?s=96&d=mm&r=g\",\"caption\":\"James Gill\"},\"description\":\"James is CEO and one of the co-founders of GoSquared. He also likes to talk about design.\",\"sameAs\":[\"http:\/\/www.gosquared.com\/\",\"https:\/\/twitter.com\/JamesJGill\"],\"url\":\"https:\/\/www.gosquared.com\/blog\/author\/g\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"The new GoSquared API docs - GoSquared Blog","description":"What's new in the GoSquared API docs \u2013 entirely new documentation and all the GoSquared APIs in one place.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.gosquared.com\/blog\/new-gosquared-api-docs","og_locale":"en_US","og_type":"article","og_title":"The new GoSquared API docs","og_description":"What's new in the GoSquared API docs \u2013 entirely new documentation and all the GoSquared APIs in one place.","og_url":"https:\/\/www.gosquared.com\/blog\/new-gosquared-api-docs","og_site_name":"GoSquared Blog","article_publisher":"https:\/\/www.facebook.com\/GoSquared","article_published_time":"2015-10-27T14:09:47+00:00","article_modified_time":"2019-11-28T11:42:57+00:00","og_image":[{"url":"\/\/static.gosquared.com\/images\/liquidicity\/15_10_27_apilaunch_06.png"}],"twitter_card":"summary_large_image","twitter_creator":"@JamesJGill","twitter_site":"@GoSquared","twitter_misc":{"Written by":"James Gill","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/www.gosquared.com\/blog\/#organization","name":"GoSquared","url":"https:\/\/www.gosquared.com\/blog\/","sameAs":["https:\/\/instagram.com\/gosquaredteam","https:\/\/www.linkedin.com\/company\/go-squared-ltd.","https:\/\/www.facebook.com\/GoSquared","https:\/\/twitter.com\/GoSquared"],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.gosquared.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.gosquared.com\/blog\/wp-content\/uploads\/2015\/07\/gosquared.png","contentUrl":"https:\/\/www.gosquared.com\/blog\/wp-content\/uploads\/2015\/07\/gosquared.png","width":1270,"height":250,"caption":"GoSquared"},"image":{"@id":"https:\/\/www.gosquared.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"WebSite","@id":"https:\/\/www.gosquared.com\/blog\/#website","url":"https:\/\/www.gosquared.com\/blog\/","name":"GoSquared Blog","description":"Turn visitors into customers.","publisher":{"@id":"https:\/\/www.gosquared.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.gosquared.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.gosquared.com\/blog\/new-gosquared-api-docs#webpage","url":"https:\/\/www.gosquared.com\/blog\/new-gosquared-api-docs","name":"The new GoSquared API docs - GoSquared Blog","isPartOf":{"@id":"https:\/\/www.gosquared.com\/blog\/#website"},"datePublished":"2015-10-27T14:09:47+00:00","dateModified":"2019-11-28T11:42:57+00:00","description":"What's new in the GoSquared API docs \u2013 entirely new documentation and all the GoSquared APIs in one place.","breadcrumb":{"@id":"https:\/\/www.gosquared.com\/blog\/new-gosquared-api-docs#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.gosquared.com\/blog\/new-gosquared-api-docs"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.gosquared.com\/blog\/new-gosquared-api-docs#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.gosquared.com\/blog"},{"@type":"ListItem","position":2,"name":"The new GoSquared API docs"}]},{"@type":"Article","@id":"https:\/\/www.gosquared.com\/blog\/new-gosquared-api-docs#article","isPartOf":{"@id":"https:\/\/www.gosquared.com\/blog\/new-gosquared-api-docs#webpage"},"author":{"@id":"https:\/\/www.gosquared.com\/blog\/#\/schema\/person\/7b8729da7ca77395a2281bad91768fbe"},"headline":"The new GoSquared API docs","datePublished":"2015-10-27T14:09:47+00:00","dateModified":"2019-11-28T11:42:57+00:00","mainEntityOfPage":{"@id":"https:\/\/www.gosquared.com\/blog\/new-gosquared-api-docs#webpage"},"wordCount":542,"publisher":{"@id":"https:\/\/www.gosquared.com\/blog\/#organization"},"keywords":["API","Developer"],"articleSection":["GoSquared Updates"],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.gosquared.com\/blog\/#\/schema\/person\/7b8729da7ca77395a2281bad91768fbe","name":"James Gill","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.gosquared.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/46c3ae1aefe2bdb6765a3153018aeba55de419fa36083b8dcdf9ee49ffcb5a2f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/46c3ae1aefe2bdb6765a3153018aeba55de419fa36083b8dcdf9ee49ffcb5a2f?s=96&d=mm&r=g","caption":"James Gill"},"description":"James is CEO and one of the co-founders of GoSquared. He also likes to talk about design.","sameAs":["http:\/\/www.gosquared.com\/","https:\/\/twitter.com\/JamesJGill"],"url":"https:\/\/www.gosquared.com\/blog\/author\/g"}]}},"wps_subtitle":"Everything you need to know about the GoSquared API in one place","_links":{"self":[{"href":"https:\/\/www.gosquared.com\/blog\/wp-json\/wp\/v2\/posts\/6173","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gosquared.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gosquared.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gosquared.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gosquared.com\/blog\/wp-json\/wp\/v2\/comments?post=6173"}],"version-history":[{"count":0,"href":"https:\/\/www.gosquared.com\/blog\/wp-json\/wp\/v2\/posts\/6173\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.gosquared.com\/blog\/wp-json\/wp\/v2\/media?parent=6173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gosquared.com\/blog\/wp-json\/wp\/v2\/categories?post=6173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gosquared.com\/blog\/wp-json\/wp\/v2\/tags?post=6173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}