Get all data-streams provider companies
curl --request GET \
--url https://api-dev.narrative.io/company-info/data-stream-marketsimport requests
url = "https://api-dev.narrative.io/company-info/data-stream-markets"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api-dev.narrative.io/company-info/data-stream-markets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-dev.narrative.io/company-info/data-stream-markets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-dev.narrative.io/company-info/data-stream-markets"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-dev.narrative.io/company-info/data-stream-markets")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-dev.narrative.io/company-info/data-stream-markets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"records": [
{
"id": 28,
"name": "ACM",
"short_description": "American Company that Manufactures Everything",
"long_description": "The Acme Corporation is an ironic name for the fictional corporation, appearing in the Road Runner/Wile E. Coyote animated shorts, where it was used as a running gag.",
"company_type": "Manufactures Everything",
"image_url": "https://d18qs7yq39787j.cloudfront.net/uploads/company/3862/acme_logo.jpg",
"location": "USA",
"size": "200 - 500 Employees",
"website": "N/A",
"contact": "[email protected]",
"created_at": "2017-04-23T11:59:33"
}
]
}Company Marketing Information
Get all data-streams provider companies
Returns all the companies providing data-stream market offers.
GET
/
company-info
/
data-stream-markets
Get all data-streams provider companies
curl --request GET \
--url https://api-dev.narrative.io/company-info/data-stream-marketsimport requests
url = "https://api-dev.narrative.io/company-info/data-stream-markets"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api-dev.narrative.io/company-info/data-stream-markets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-dev.narrative.io/company-info/data-stream-markets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-dev.narrative.io/company-info/data-stream-markets"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-dev.narrative.io/company-info/data-stream-markets")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-dev.narrative.io/company-info/data-stream-markets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"records": [
{
"id": 28,
"name": "ACM",
"short_description": "American Company that Manufactures Everything",
"long_description": "The Acme Corporation is an ironic name for the fictional corporation, appearing in the Road Runner/Wile E. Coyote animated shorts, where it was used as a running gag.",
"company_type": "Manufactures Everything",
"image_url": "https://d18qs7yq39787j.cloudfront.net/uploads/company/3862/acme_logo.jpg",
"location": "USA",
"size": "200 - 500 Employees",
"website": "N/A",
"contact": "[email protected]",
"created_at": "2017-04-23T11:59:33"
}
]
}Response
200 - application/json
Returns the marketing detail of a specific company.
Show child attributes
Show child attributes
Was this page helpful?
⌘I

