Questions tagged [mashape]

Mashape is an API marketplace where developers can find and consume cloud APIs, and that API providers can use to distribute, track and manage their public or private cloud services.

Mashape is an API marketplace where developers can find and consume cloud APIs, and that API providers can use to distribute, track and manage their public or private cloud services.

Developers that consume APIs have a unified place to consume a multitude of cloud APIs, tracking their usage analytics, and subscribe to pricing plans.

On the other side, developers that want to publish their cloud API to the public, or internally in private/partner mode, can use all the tools provided by Mashape to handle authentication, users, analytics and billing.

87 questions
2
votes
1 answer

Reading mashabe API using urllib

I have this code to read Mashape.com API in python 2. how can i read it in python 3? code import urllib, urllib2, json from pprint import pprint URL = "https://getsentiment.p.mashape.com/" text = "The food was great, but the service was…
Mohammad Zamanian
  • 751
  • 2
  • 7
  • 19
2
votes
2 answers

Invalid operation during the http request

I'm writing a windows forms app where user have to enter email address and I need to check if it's valid. I have found Mashape API but I get an exception; "An unhandled exception of type 'System.InvalidOperationException' occurred in…
Laguland
  • 65
  • 1
  • 7
2
votes
0 answers

Android Using Mashape Getting VerifyError

Have anyone try mashape api and getting error like this Caused by: java.lang.VerifyError: com/mashape/relocation/conn/ssl/AbstractVerifier at…
lichienmine
  • 63
  • 1
  • 1
  • 6
2
votes
0 answers

Get request as soon token received

I'm using the camfind api, I post a request where I send the api an image and get a token, and then I can use the token to get what the image is, but this takes two steps, a post and a get request. I want to combine them, so the get request auto…
Kashish Goel
  • 303
  • 3
  • 15
2
votes
1 answer

Ajax not detecting php strings from api url

Below api(s) are perfectly working, i am getting proper output from "plan-api.php" PHP CODE(plan-api.php) if ($_GET['result']): $rslt = $_GET['result']; $result =…
user3588059
  • 71
  • 2
  • 2
  • 9
2
votes
1 answer

How to Curl from Mashape in PHP

I have got the following curl code to check whether a number is DND activated or not. But i don't know how to use this. How can i implement this in php to get json output. CURL code: curl --get --include…
user3785247
2
votes
1 answer

How to adapt Mashape application key in Swift?

I tried to use "Yoda Speak" API by Mashape. I got binary data but I don't know how to parse the data. When I try to print the data, I got this message. "(message, Missing Mashape application key. Go to https://www.mashape.com to get your key.)" I…
2
votes
0 answers

Unirest response returning a website?

I'm trying to get Unirest working on my Laravel 4.0 framework. Right now I'm using REST Countries v1 API and I'm having this issue while trying to get all countries: http://i.gyazo.com/3876755ebdf9b3e71c03a0e801975053.png if I remove the…
Kristjan Kirpu
  • 674
  • 1
  • 7
  • 26
2
votes
1 answer

BOM couldn't extract the archive. exception in initialising pkpass with the pass url which is generated using passkit

When trying to display the pass within my app using the following code, I am getting the error "BOM could not extract the archive. PKpass signature missing exception constantly". Please help me to get ride of this exception. NSURL *url = [NSURL…
Minisha
  • 2,117
  • 2
  • 25
  • 56
2
votes
2 answers

Mashape Objective-C for iOS - MashapeResponse to JSON Object

I am consuming an API through Mashape.com called Lamda (https://www.mashape.com/lambda) a face recognition API. When I get my result back from the recognize request it gives me a "MashapeRespose" object. I cannot convert this MashapeResponse or any…
damien murphy.
  • 371
  • 2
  • 16
1
vote
0 answers

Send BufferedImage instead of File in unirest

I'm using the code below to send an image file to mashape api, however their example requires that I pass a path to an actual file. HttpResponse response =…
Arya
  • 8,473
  • 27
  • 105
  • 175
1
vote
0 answers

502 Bad Gateway with Mashape Imgur API upload

I have a previously working implementation of client-side image uploads. Code is below. Currently I'm running into the following: https://imgur-apiv3.p.mashape.com/3/image.json Failed to load resource: the server responded with a status of 502…
RobVious
  • 12,685
  • 25
  • 99
  • 181
1
vote
1 answer

unable to access gaana api via java from mashape

i am trying to access gaana api from java side by using mashape api i am trying from a localhost. but, i am getting issues while trying to connect gaana api. Below is my code in one of my rest service ( I am using spring-security and java8). I am…
1
vote
1 answer

uploading using Mashape to upload to imgur always says image corrupted or not format not supported

I'm using MashApe API to upload images to Imgur using PHP as follows: $valid_file_extensions = array(".jpg", ".jpeg", ".gif", ".png"); $file_extension = strrchr($_FILES["file"]["name"], "."); if (in_array($file_extension,…
Abanoub
  • 3,623
  • 16
  • 66
  • 104
1
vote
1 answer

HTTP request with requests in python returning text instead of json

def thready(name,count): payload={'Accept': 'application/json;charset=utf-8', 'X-Mashape-Key': 'key' } link = "https://montanaflynn-gender-guesser.p.mashape.com/?name=" + name r=requests.get(link ,headers=payload) …
Eigenvalue
  • 1,093
  • 1
  • 14
  • 35