REST API of
REST API Documentation
API Examples
Version 4.1.8
Other versions of this documentation
Single-page
version of this documentation
User manual
Administration manual
REST API documentation
Ogma documentation
Documentation home
Linkurious website
All versions of this documentation
X
Welcome to Linkurious REST API documentation v4.1.8. Use the menu to access other documentations.
Introduction
Getting started
Get server status
User login
Discover data-sources
Obtain an API key
Use the API key
Search
Search for nodes
Get node properties
Get node neighborhood
Visualizations
Open with a single node
Open with a search query
Open with a graph query
Widgets
Publish a widget
Alerts
Retrieve cases
Visualizations: Open with a search query
Similar to the previous example, this time we search for nodes related to
Coursera
.
// we need to be authenticated via HTTP cookie to open a visualization request.post({ uri: 'https://crunchbase.linkurio.us/api/auth/login', body: { usernameOrEmail: 'student@linkurio.us', password: 'student0' } }, function(err, res) { // open a new visualization with a search query var searchQuery = 'Coursera'; var searchFuzziness = 0.7; console.log('Visualization populated by the search query: "' + searchQuery + '"'); var url = 'https://crunchbase.linkurio.us/workspace/new' + '?source=e7900d9b' + '&populate=searchNodes' + '&search_query=' + encodeURIComponent(searchQuery) + '&search_fuzziness=' + searchFuzziness; console.log('Click here to open it: ' + url); });
Previous
Next