Questions tagged as 'api'

0
answers

Google Maps API + PHP + Mysql - Best way to look for locations closer to the center of the map

Using Google Maps API, PHP, and Mysql, what is the best performance way to query the database, through the coordinates, the locations closest to the center of the map? At first I thought of Ajax. Each interaction on the map (zoom or change in...
asked by 29.05.2018 / 17:30
0
answers

Google maps API - Form

Good morning, I'm a beginner in PHP and I have a little doubt. This code below that I've taken on YouTube maps a route between the address that is already filled in (Latitude, Longitude) and the address you provide from a form. My question i...
asked by 27.05.2018 / 17:41
0
answers

Problem making API requests

I'm trying to order an API: EGOI but I get an error. The request is as follows: link Do you know how to pass parameters to ZEND? I get the following error: <?xml version="1.0" encoding="UTF-8"?> <Egoi_Api generator="zend...
asked by 01.06.2018 / 11:08
0
answers

Post with Facebook image via API

How do I post an image to Facebook via API? I got the 'link' attribute, but it looks like a clickable image and redirects to where the image is hosted. I used the host ' link ' and the 'message', 'access_token', 'link', 'method', and ' picture '...
asked by 29.05.2018 / 19:57
0
answers

Calling artist info with wikipedia API

I'm using the wikipedia API to call artist information. The question is, how do you filter this information? I just want these fields: Image, name, age, place and date of birth, genres and website ... I searched google, but found no nad relat...
asked by 25.05.2018 / 00:09
0
answers

Google Play API

I'm trying to access the reviews of a google play APP but I'm having this error:    This method requires you to be authenticated. You may need to activate   the toggle above to authorize your request using OAuth 2.0. Even though I am repo...
asked by 14.05.2018 / 21:37
1
answer

Angular ng-repeat asynchronous

I'm using Angular 1.6.10 to show the data of an API, as the search of the data is asynchronous, I believe ng-repeat is executed before the data is loaded: angular .module('appDataPOA', []) .controller('controllerDataPOA', async funct...
asked by 19.05.2018 / 19:01
0
answers

Consume API with JQuery and save to database

Good evening! I'm trying to consume an API using JQuery and Laravel. I created the route to access and save the data, access always returns me with status 0. web.php: Route::any('http://moviecom.com.br/MoviecomAPI/','MoviecomController@stor...
asked by 12.05.2018 / 07:56
0
answers

Mongo access using fetch javascript

Hello, I'm developing a simple system with nodejs and javascript. The system consists of the registration of a driver, a passenger and a race containing a driver and a passenger. I am using mongodb as a database. I have already created the AP...
asked by 12.05.2018 / 17:37
0
answers

How to recover the data in the api query in NODEJS

Good morning people. I'm consuming an external api and I'm getting the data as follows: { "place_id": "151508663", "licence": "Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright", "osm_type": "way", "osm_id": "348425570"...
asked by 14.05.2018 / 16:45