<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: DNA SPACES - Retrieve Data with API in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/dna-spaces-retrieve-data-with-api/m-p/4998942#M9055</link>
    <description>Please reach out to dnaspaces-onboarding@cisco.com&lt;DNASPACES-ONBOARDING&gt; and someone will get on a Webex to help you with this.&lt;BR /&gt;&lt;/DNASPACES-ONBOARDING&gt;</description>
    <pubDate>Wed, 17 Jan 2024 22:39:43 GMT</pubDate>
    <dc:creator>vikamurt</dc:creator>
    <dc:date>2024-01-17T22:39:43Z</dc:date>
    <item>
      <title>DNA SPACES - Retrieve Data with API</title>
      <link>https://community.cisco.com/t5/network-platform-api/dna-spaces-retrieve-data-with-api/m-p/4312247#M9053</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Team, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are working on an internal project links to DNA SPACES.&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We try to retrieve data using the DNA SPACES API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We connect Meraki with DNA Spaces using the API key&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The Connection to the Cisco Meraki CBS looks complete on the dashboard where we have data.&lt;BR /&gt;But we can’t retrieve data with API.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;We have an empty list return. And a successful 200 code.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;We tried to solve the problem internally, without success.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have any suggestions or contact of a specialist to solve that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sabrina&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;where :&lt;BR /&gt;config['dna_spaces_url'] = "&lt;A href="https://dnaspaces.eu/api/location/v1/history/clients" target="_blank" rel="noopener"&gt;https://dnaspaces.eu/api/location/v1/history/clients&lt;/A&gt;"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;The token has been intentionally deleted&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;#File 			Stage0.py
#Author: 	 	Sabrina Boudjelti
#Date: 			20/03/2021

import requests
from requests.auth import HTTPBasicAuth
import json
from env import config


#Definition of variables 
DNAS_KEY=config['token_dnaspaces']
DNAS_URL = config['dna_spaces_url']

KEY_ORG = "/organizations"
#KEY_ORG = "/clients"

def clients():
    headers = {
        'Content-Type': 'application/json', 
        'Authorization': f'Bearer {DNAS_KEY}'
    }
    response = requests.request("GET", DNAS_URL, headers=headers)
    print()
    print(response.status_code)
    #org = response.json()
    #print(org)


#headers = {Content-type: "application/json", Authorization: "Bearer eyJhbGciO...."}
#response = requests.request("GET", getURL, headers=headers)

if __name__ == "__main__":
    clients()&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 21:41:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/dna-spaces-retrieve-data-with-api/m-p/4312247#M9053</guid>
      <dc:creator>sboudjel</dc:creator>
      <dc:date>2024-01-17T21:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: DNA SPACES - Retrieve Data with API</title>
      <link>https://community.cisco.com/t5/network-platform-api/dna-spaces-retrieve-data-with-api/m-p/4312266#M9054</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;DNA Spaces Location API is provided primarily for customers migrating from CMX. It does not support Meraki networks.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;DNA Spaces provides a newer Firehose API that does work across all types of networks including Meraki. It is a streaming API so is very different from traditional REST APIs. It has support for all the new capabilities provided by DNA Spaces including Location Hierarchy, Device &amp;amp; User presence, BLE IoT telemetry, Meraki Cameras, WebEx Telepresense events etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To use it you need to sign up as a partner at&amp;nbsp;&lt;A href="https://partners.dnaspaces.io/partner" target="_blank"&gt;https://partners.dnaspaces.io/partner&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Once approved you will get access to Firehose API and documentation related to it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Vikas&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 13:37:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/dna-spaces-retrieve-data-with-api/m-p/4312266#M9054</guid>
      <dc:creator>vikamurt</dc:creator>
      <dc:date>2021-03-23T13:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: DNA SPACES - Retrieve Data with API</title>
      <link>https://community.cisco.com/t5/network-platform-api/dna-spaces-retrieve-data-with-api/m-p/4998942#M9055</link>
      <description>Please reach out to dnaspaces-onboarding@cisco.com&lt;DNASPACES-ONBOARDING&gt; and someone will get on a Webex to help you with this.&lt;BR /&gt;&lt;/DNASPACES-ONBOARDING&gt;</description>
      <pubDate>Wed, 17 Jan 2024 22:39:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/dna-spaces-retrieve-data-with-api/m-p/4998942#M9055</guid>
      <dc:creator>vikamurt</dc:creator>
      <dc:date>2024-01-17T22:39:43Z</dc:date>
    </item>
  </channel>
</rss>

