How do I turn a repetitive string into a function?

At the moment I'm getting information from an API - I want to convert that information onto my site in a more user friendly way to see. The issue here is that the amount of the variable that I'm looking for keeps changing along with the answers in it...
more »

2017-12-03 23:12 (1) Answers

UI Documentation for Operations

Thoughts on how to provide good documentation to the operations team on how to figure out why things are not working as expected? Documenting code and apis is 'easy' jdoc, jsdoc, doxy, swagger, etc How do you go about documenting the user interface...
more »

2017-11-24 19:11 (0) Answers

Ruby Twitter, Retrieving Full Tweet Text

I'm using the Ruby Twitter gem to retrieve the full text of a tweet. I first tried this, and as you can see the text was truncated. [5] pry(main)> t = client.status(782845350918971393) => #<Twitter::Tweet id=782845350918971393> [6] pry(...
more »

2017-11-20 01:11 (1) Answers

spring boot + jackson deserialization

I am new to the spring boot framework and i faced this problem. I have three entities: 1- user 2- order 3- product @Entity @Table(name = "user") public class User { @Id @Column(name = "Id") @GeneratedValue(strategy = GenerationType.IDENTITY...
more »

2017-11-17 12:11 (0) Answers

Koa.js API documentation, context validation

I have written a small RESTful API service for my main project. The first question: But right now I can't find the solution how to document it in a right way. I have tried,, and But all of th...
more »

2017-11-13 15:11 (0) Answers

Manipulate JSON data using AngularJS

hope you well.. I have an API made using php, to grab from SQL and convert it to JSON which is working fine. My only problem was, i can't manipulate this php to fetch JSON like i wanted. The solution i believe just a placement in the $outp at my api...
more »

2017-11-11 23:11 (1) Answers no longer working

I created a small web app a few months ago that would create stylized instagram galleries for public profiles by accessing the JSON from (not via the API). I went to my personal website today and realized that the gallery...
more »

2017-11-11 17:11 (1) Answers

Quick API Rest with Python for mocking responses

I am testing a C# application that make requests to another API Rest and I want to mock the server. I known basic python and I was wondering if I can write a simple API Rest server without be involved with large frameworks like Django. It would be a ...
more »

2017-11-08 17:11 (1) Answers

Slow response with symfony

I have a symfony app (2.8.28) hosted in heroku and I can monitoring request with NewRelic and I realize that there some requests that are really slow and it is a really simple request which gets the API version and returned it in JSON format and some...
more »

2017-11-07 14:11 (0) Answers

How to return data from task in swift

I have problem with this for so long. I'm thinking about adding this question so long, but i decided to do this. So: How to get response in getWeather func? Its my first app in swift. I'm a c# developer, swift is a magic for me. Thx for your help. :...
more »

2017-11-07 11:11 (0) Answers

Python programming using API error

I'm new to the programming API's, I'm trying to write my bot to run on a site and this is the doc to the API Crypto-games API doc site but I get the 400 error on execution for the place bet command and the error won't print out the error content, jus...
more »

2017-10-26 03:10 (1) Answers

How to use API in wordpress

I would like to connect one Razorpay Payment API with WordPress, API has authentication token using username and password. is there any builtin functionality available in WordPress to make a call and handle response? ...
more »

2017-10-25 07:10 (1) Answers

Mongoose - Unable to fetch data in find

I am sending an api request which contains space. I remove the space with decodeURIComponent but still I am getting [] in response. Here is my code router.get('/products/searchproduct/:name', (req, res, next) => { var request = decodeUR...
more »

2017-10-24 13:10 (0) Answers

error on vimeo search api using php

Hi guys i have a problem for vimeo video search application.i use helper file from github Fatal error: Uncaught Error: Class 'Vimeo' not found in C:\xampp\htdocs\vimeosear\src\Vimeo\ajax.php:14 Stack tra...
more »

2017-10-21 07:10 (0) Answers

How to SEO Youtube API Website

How to SEO Youtube API Website . my website is this website use youtube api results Seo above website dynamically ... and then some bot access Api request , some time api result is "too many requests from this ip ...
more »

2017-10-20 07:10 (0) Answers