Questions tagged as 'api'

1
answer

Return API Laravel json

I have a following problem, I made a API and it returns me a array : "id": 1, "email": "[email protected]", "senha": "lucas123", "created_at": "2018-02-15 16:48:12", "updated_at": "2018-02-15 16:48:12"' I would like to only retur...
asked by 06.03.2018 / 14:57
3
answers

How to indicate a maximum of digits in a var in JavaScript [duplicate]

I have a JavaScript code one where I'm getting a number API with enough digits after the point: 39.576911261669586 I wanted to assign that number to a variable showing only 4 digits, like this: 39.57 Thanks for your attention.     
asked by 05.10.2017 / 00:42
1
answer

Form with FIPE Table API using Angular

Speak up. I am a beginner in Angular and would like help with this form. <html ng-app="app"> <head> <title>Teste</title> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.js"><...
asked by 01.03.2016 / 16:34
2
answers

What criteria do I use when choosing which APIs to download? [closed]

Or do you have to download all the ones that appear in sdk? I am beginner.     
asked by 16.01.2015 / 18:21
1
answer

How to validate a zip on Android?

I would like to know the best way to do the validation of cep on Android. I have a form that the user types the zip and want to return on the screen whether it is valid or not. And if possible return the address. I saw that the mail has a JSON a...
asked by 18.05.2015 / 19:03
1
answer

Site Integration - Instagram API - PHP

I do not know what happened, but it was working on my Instagram integration site. I did a randomization of photos. But nothing has stopped working, the images do not appear anymore. For those familiar with the Instagram Developers API Console...
asked by 19.05.2015 / 14:43
1
answer

Restrict Vimeo videos to my site only

Is it possible to make a premium account on Vimeo, upload my videos, restrict access to anyone viewing them on the Vimeo website, and show them only to clients logged in to my site? Is there a Vimeo API for this? I looked for something simila...
asked by 07.08.2014 / 13:24
1
answer

Development with Codename One

I'm starting development with Codename One and finally I have a question about the support of this API with the development using sockets. Is this the only thing I can understand about TCP sockets development?     
asked by 28.04.2014 / 13:25
2
answers

How can I create a stream from a video that is on the server?

As the title itself already says, I need to create a live streaming of a video from the server, or from youtube or something like that, can anyone give me a hint how can I start? I searched a lot, and everywhere I looked I only found help / tuto...
asked by 29.07.2014 / 23:08
1
answer

How to separate the errors of a query into an api expressjs

What is the correct method of separating errors from a query? The current code compares the error manually with the message generated by mysql, in case the query can go wrong for several reasons, instead of returning a log and error 500 like...
asked by 11.10.2018 / 21:12