Questions tagged as 'api'

2
answers

Get JSON result with php

The code is complete I believe but I do not know how to work with json , I just need to get the result of the other days that I can only get from the code today: $chave = 'fdhfju35'; // Obtenha sua chave de API gratuitamente em http://hg...
asked by 21.11.2016 / 13:30
2
answers

Getting only 4 items out of 1059 instead of all

I was able to solve my problem of picking up the date. Currently my problem is to get all users for some reason my JSon is only giving 4 items of 1059 and I want to get all of them. <?php function buscaUser($user) { $opts = [ 'http...
asked by 18.10.2016 / 16:18
2
answers

Change Preposition according to State

I have the following situation: I'm using an IP-based location API link Everything is working perfectly. What I can not do is change the following: Hello visitor "from" São Paulo Hello Visitor "of" Rio de Janeiro Can you change thi...
asked by 01.08.2016 / 19:39
2
answers

json path to get api value

How to get the low value of the following api : [{"idreg":"257052","code":"USD","codein":"BRL","name":"D\u00f3lar Comercial", "high":"3.4026","pctChange":"1.143","open":"0","bid":"3.3703","ask":"3.3713", "timestamp":"148182...
asked by 15.12.2016 / 20:45
1
answer

HTTPS via cURL JSON response

I'm trying to get the next page return with cURL. link How do I do this, being the HTTPS protocol?     
asked by 07.06.2014 / 17:46
1
answer

Can not import urlencode name in program execution

I need to run a routine, but the system tells me that it can not load the urlencode name (I'm not sure I can call this function, class), I looked for similar libraries, but I'm not sure I'm doing it correctly. from hashlib import sha256 from ur...
asked by 18.02.2017 / 22:00
1
answer

How to get a value inside an array with PP

I have an API with some information and I want to get the genre: Samba / Pagode stdClass Object ( [id] => 46484422 [title] => Raça Negra e Amigos II (Ao Vivo) [upc] => 7891430177379 [link] => https://www.deezer.co...
asked by 17.06.2018 / 23:49
1
answer

I need a movie API that returns Json

Lords all good? Does anyone have a movie API that returns json if possible with the movie photo? I'm doing some sample app with xamarin however the api that it uses in example n works over ..     
asked by 09.12.2017 / 18:57
1
answer

Numbers in format of cpf (JS)

I get numbers from a cpf coming from the API, then it goes to a table that I did, except that the numbers are not in the format of cpf xxx.xxx.xxx-xx and I would like it to stay, but I do not know how . You just have to click on login and go to...
asked by 14.12.2017 / 13:38
1
answer

Consume REST API with PHP

I am starting the studies of some RESTful APIs and I have a sense of what REST is and an API. However, I'm still kind of confused about the process. LinkedIn provides a rich RESTful API through its REST Console, for example a POST call...
asked by 09.11.2017 / 14:07