Sentiment Analysis

फ्रीमियम
द्वारा MeaningCloud | अपडेट किया गया 24 дня назад | Data
लोकप्रियता

8 / 10

लेटेंसी

887ms

सेवा का स्तर

100%

Health Check

N/A

सभी चर्चाओं पर वापस जाएं

Newbie Problems

Rapid account: Saurabhmenon
saurabhmenon
10 лет назад

Hi, I’m just starting out with programming in general and cant seem to get the api to work properly
$response = Unirest::get(
"https://textalytics-textalytics-sentiment-analysis-11.p.mashape.com/sentiment-1.1?of=json&txt=This is not a

%20good%20start.",
array(
“X-Mashape-Authorization” => “XXX”
),
null
);
When this is the get request made, i get
{“status”:{“code”:“0”,“msg”:“OK”,“credits”:“3”},“model”:“en-general”}
array (size=2)
‘status’ =>
array (size=3)
‘code’ => string ‘0’ (length=1)
‘msg’ => string ‘OK’ (length=2)
‘credits’ => string ‘3’ (length=1)
‘model’ => string ‘en-general’ (length=10)

as the reply from the server. What am i doing wrong?

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें