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
0
votes
1 answer

how to create jquery variables from json file?

Any help is very much appreciated. Basically I am using an api from mashape, but I'm a bit of a newbie to JSON files. What I want to do is create a load of jquery variables for each teams total points. Bare in mind that the teams change position in…
0
votes
1 answer

Mashape Kong + JWT invalid token

I am getting started with Kong. I successfully did a simple authentication system with Oauth2 plugin, but now I have some troubles with the JWT one. I searched a lot but there's lack of documentation and resources about this topic. I followed the…
xyzale
  • 745
  • 8
  • 14
0
votes
2 answers

How to make an API call(Mashape) with the below parameters using Alamofire?

Im building a small app in Swift 3 for iOS and the api I'm consuming for getting the data for the app has a cURL request. The cURL request of the API is as follows: // curl -X POST --include 'https://myApi.mashape.com/' \ // …
SeaWarrior404
  • 3,811
  • 14
  • 43
  • 65
0
votes
1 answer

How to use mashape with python request library?

Unirest is not compatible with python3 and that's the library that mashape APIs' use on python projects. I've decided to use python request library to make a POST request, but I'm getting a 400 HTTP error. Everything looks good to me, but I can't…
0
votes
1 answer

Unirest PHP and Mashape API Response

i'm test this. Its my first time with unirest and mashape. Code:
0
votes
1 answer

How i use mashape curl on php

How i use it on php with curl? curl --get --include 'https://consulta-situacao-cpf-cnpj.p.mashape.com/consultaSituacaoCNPJ?cnpj={cnpj}' \ -H 'X-Mashape-Key: MYKEY' I know this is wrong but i try this (I replace MY KEY and MY CPF for real…
0
votes
1 answer

How to access list of dictionaries from mashape using python(django)?

I am sending a URL as request and in response I am getting back a list of dictionary and I am unable to loop through the values. def profile_model(request): response = unirest.get(url,header) #url and header is defined outside the function …
Kiran
  • 1,481
  • 6
  • 36
  • 66
0
votes
1 answer

Kong: Is it a good idea to store business logic and/or business data in the kong datastore?

I understand that the datastore used by Kong is used for persistently storing the configurations to enable horizontal scaling. What I'm wondering is, would it also be possible to store actual business data in the api gateway's datasource itself and…
deathstroke
  • 526
  • 12
  • 33
0
votes
1 answer

Using Mashape APIs with Volley or HttpURLConnection

Can anyone point me in the right direction or demonstrate how to make a request to Mashape using an API key without Unirest? I hope to make a JSON request to a Mashape API simply using the HttpURLConnection class or perhaps Android REST libraries…
0
votes
2 answers

jQuery API not working with JavaScript

Using a Mashape API for random quotes, but nothing happening on click. Below is the JS and HTML. Is there something wrong with the JS code? When I click the button, nothing happens. The quote is not appearing in the div. …
Andy
  • 275
  • 2
  • 14
0
votes
0 answers

Unirest PHP: getting an error with a library file

I have downloaded unirest library from here and extracted it to the folder with my site. I've put this piece of code on the page:
0
votes
0 answers

' mashape api key missing', even when I use my key

I am trying to build a Ruby app using the Yoda Speak api. I keep getting {\"message\":\"Missing Mashape application key. Go to http:\\/\\/docs.mashape.com\\/api-keys to learn how to get your API application key.\"} in my response even when I…
0
votes
1 answer

Upload image with Imgur Mashape API in javascript

I'm trying to build a very simple back-office image uploader. I am using the following snippet to upload images with the Imgur Mashape API. But I keep getting the error: {"data":{"error":"Image format not supported, or image is…
G4bri3l
  • 4,996
  • 4
  • 31
  • 53
0
votes
1 answer

Calling Distance API from Tibco designer

I've tried to invoke a web service hosted on Mashape from my tibco design and i've received this error Failed to create secure client socket: Server certificate rejected by ChainVerifier I've also tried solution posted by nathan but it didn't…
root
  • 1,573
  • 3
  • 23
  • 38
0
votes
2 answers

I would like to use an API from mashape in my flash As3 app

I would like to load an api in ActionScript. It is at this link https://market.mashape.com/vivekn/sentiment-3 The curl request is this: curl -X POST --include 'https://community-sentiment.p.mashape.com/text/' \ -H 'X-Mashape-Key:…
Kheva Mann
  • 319
  • 4
  • 16