Questions tagged as 'api'

2
answers

Go through list of objects in JSON

I have this JSON { "cod": "200", "message": 0.0025, "cnt": 40, "list": [ { "dt": 1503586800, "main": { "temp": 307.92, "temp_min": 307.92, "temp_max":...
asked by 24.08.2017 / 16:05
2
answers

Pass one or several tax_id to odoo 9 (to your native api)

I currently have this: $line_array_product = array( 'order_id' => new xmlrpcval($erp_order_id, "int"), 'type' => new xmlrpcval('Product', "string"), 'product_id' => new xmlrpcval($erp_product_id, "int"), 'price_unit' =...
asked by 01.08.2017 / 12:33
1
answer

I can not modify an item in mercadolibre with php

I have this code which theoretically allows me to modify the stock of an item. He reads it, he does not give an error, but he does not modify it. <?php $ACCESS_TOKEN="APP_USR-3743017..."; $uso=1; $detallesART = '{"available_quantity"...
asked by 23.05.2017 / 01:28
1
answer

Consume an api in laravel

How to consume a call center webservice gave me a url to be consumed by laravel I have the form done and everything else that the parameters send me by jQuery class CallController extends Controller { public function showCall(Request $requ...
asked by 15.09.2017 / 01:14
1
answer

How to use the bing news API in php?

I want to implement API of Bing News to be able to show news related to the theme of the page, the problem is that I do not know how to use it, I already obtained the necessary code to be able to make queries to the server, but I d...
asked by 07.04.2017 / 20:05
1
answer

Show PrettyPrint JSON in Slim3

I am creating a restful api with the framework Slim3 the data is returned to me with json, but to debug I like more to show the answer with a nicer format. in% pure co_de I do it using json_encode($datos, JSON_PRETTY_PRINT); I hav...
asked by 05.04.2017 / 12:22
1
answer

Upload videos with Youtube API

I have a video-attended system in which I use the YouTube API as shown here to upload the videos: link Classes charge them asynchronously with ajax, like this: jQuery.ajax({ type: "GET", url: cursado....
asked by 12.06.2017 / 17:44
1
answer

Problem with service consumption [closed]

I want to consume this Api rest link but it does not bring me the key to be able to bring the information well. This is the JSON to try { "email": "[email protected]", "password": "candidato2017" } Here is the documentation about t...
asked by 25.02.2017 / 07:31
1
answer

ionic2 make a query to an api when the view loads

I want to make the query to an api xxxxxx / yyy, just load a view, the problem is that when the page loads I do not receive an answer. This is my code. example.ts ionViewWillEnter() { this.chats.push("Hola prueba del chat"); t...
asked by 06.02.2017 / 01:06
1
answer

Receive data every time through API using websockets

I am working with the API of a platform to receive currency quotes minute by minute, I have a way of doing it but it is not very functional and I wanted to check if someone could help me, this is my code: from iqoptionapi.api import IQOptionAP...
asked by 25.01.2017 / 08:27