Word Cloud

FREEMIUM
By Textvis
Updated 4 months ago
7.4/10
Popularity Score
1111ms
Latency
77%
Success Rate
uptooa year ago
Available paramsHello, I would like to know which fonts and scale I can set. I tried to change the font to Helvetica or Fira Sans but they both didn't work. I also tried to change the scale to 0.x or 2.0 with no success. Is there a way to have the text uppercased ? Thanks for your time, Antoine
Textvisa year ago
Hi Antoine! Thanks for reaching out! You're right! I recently changed the hosting environment and there seems to be something wrong with the fonts. Regarding the scale, I will have a look at it. I will also add an upper case option as soon as I can. Would you mind sending me an email at [email protected]? Would love to hear more about your use case and see how I can improve the API. Regards, Joakim
Hi Developer, feel free to post your answer:

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://textvis-word-cloud-v1.p.rapidapi.com/v1/textToCloud?max_words=200&font=Tahoma&language=en&colors=%5B'%23375E97'%2C+'%23FB6542'%2C+'%23FFBB00'%2C+'%233F681C'%5D&use_stopwords=true&scaling=0.5&width=800&height=800&text=This+is+a+test.+I+repeat%2C+this+is+a+test.+We+are+only+testing+the+functionality+of+this+api%2C+nothing+else.+End+of+test.")
.header("X-RapidAPI-Host", "textvis-word-cloud-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("x-api-key", "qLn10OtYwY8MILjfYAIH11rx6yVWaGMOUNh0NZQh")
.header("Content-Type", "application/json")
.send("text=Hello")
.send({"text":"This is a test. I repeat, this is a test. We are only testing the functionality of this api, nothing else. End of test.","scale":0.5,"width":800,"height":800,"colors":["#375E97","#FB6542","#FFBB00","#3F681C"],"font":"Tahoma","use_stopwords":true,"language":"en","uppercase":false})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication