Most voted "api" questions
API stands for Application Programming Interface. The program’s API defines the correct way for a developer to request services from that program. Use this tag to ask about API across the board. Always prefer more specific tags, such as win-api, file-api, web-api, google-api, google-maps-api-3. There is no need to use this tag in conjunction with a more specific one. This would bring confusion and work as a metatag
Learn more…1,192 questions
Sort by count of
-
3
votes1
answer292
viewsWhere can I find the reference for defining dates of the dd/mm/yyyy format?
I’m doing the documentation of an API, but I don’t know where I can find what defines the date in the Brazilian, Italian, etc., formatting styles dd/mm/yyyy. Dates in format yyyy-mm-dd are defined…
-
2
votes1
answer88
viewsOpenlayers | Cloudpopup
I’m trying to do a popup using Openlayers (more specifically using Ol4jsf) but the add to popup use the direct jscript, and the popup gets out all the time. What’s the reason? Code used:…
-
2
votes1
answer282
viewsVideo API - How to automatically update your posts?
Is there any Video API for Youtube and Vimeo that can be embedded, through a script , on a website and that gives me the condition to automatically update the posts made?
-
2
votes3
answers1176
views -
2
votes1
answer5027
viewsIs it possible to view private videos via the Youtube API?
I’m creating a content strategy for a client and the following need has arisen: View private videos from the youtube channel on the website. What we want to do is create a strategy where users can…
-
2
votes1
answer142
viewsHow are unofficial Apis made?
I would like to create an Xbox API in PHP that returns user information as there is no official one. How can this be done? By using a Crawler? I saw that there is Casperjs, I used it and I was…
apiasked 10 years, 6 months ago luckakashi 314 -
2
votes1
answer431
viewsInsert web api class into existing web project
In my visual studio 2012, I have a solution with several projects and one of them is web. In this project, I would like to include a "Web Api Controller" class to do some tests. I created a class…
-
2
votes0
answers107
viewsTrying to login with Facebook and returns Fberrorcategoryusercancelled
Facebook Login on iOS works in 3 ways: Try logging in via native iOS login if the user has this option configured; Try logging in through the Facebook app if it is installed; Open the Facebook site…
-
2
votes2
answers160
viewsWhat is the difference between open and opendir calls on UNIX?
If the open file uses the open system call, why is there another system call to open files directory (opendir), if a directory is a file type? It wasn’t supposed to be a call just for all kinds of…
-
2
votes1
answer51
viewsImporting an objc control into Swift: Error when putting an action (func) of my contole
I decided to make an app in Swift this time, and as usual I use my custom control (Menuview). In objc I know how it works and everything worked, in Swift I followed all the steps, import in…
-
2
votes2
answers1201
viewsIdentify USB stick
I need the application to copy a file when a flash drive is connected. It has how to identify when the removable disk is connected and the volume name, so that the system does not copy to the flash…
-
2
votes2
answers4191
viewsWhen do I use Pathparam or Queryparam?
I know the difference, but when do I use Pathparam or Queryparam? It is correct the following explanation? If there is a scenario to Retrieve a record based on id, for example you need to get the…
-
2
votes0
answers149
viewsGame Development - Opengl, Directx
I am beginning to study Apis for graphic development and I have a pertinent question. When games are developed, Apis are necessarily used. My question is regarding the development of the same game…
-
2
votes1
answer788
viewsProblem with filters and routes in the Laravel
Hi. I am creating an api in the. And I have a problem with routes and filters for access. I have client, operator and administrator levels. I have routes that are common for client, operator and…
-
2
votes1
answer2300
viewsSend message from a web java application to Whatsapp
Guys, I wonder if there is the possibility to send message from java web application to the Whatsapp application. Is there a class or api that can help? Example: the person makes a purchase and when…
-
2
votes2
answers886
viewsShare Facebook
The facebook documentation is kind of flawed. What parameters should I pass to share a product and its photo on facebook coming from a site? I create the path of the page: $url =…
-
2
votes3
answers2146
viewsCollect instagram tag images for website
Good night! I would like to create something like what you can see at the bottom of this page: http://www.theathletesfoot.com/ It presents all the photos that are being put with the tag…
-
2
votes1
answer1943
viewsboleto php - how to check if the boleto generated by my system was paid
My system is generating billet to be paid in the Bank of Brazil. How do I know if that billet was paid?
-
2
votes1
answer392
viewsJSON-RPC or RESTFULL?
Between developing an API using JSON-RPC or REST (RESTFULL), I would like to know in which cases there are advantages/disadvantages in using one or the other. OBS: This may be through…
-
2
votes0
answers220
views -
2
votes1
answer415
viewsWhat tools/frameworks are available to create a restful PHP API?
Are there any such tools that facilitate the development of a Restful API? I’ve heard of the Slim Framework, but I wanted to know more tools. -----edited To be more specific, I want to make a…
-
2
votes0
answers303
viewsFreight calculation
I’m trying to work out a freight system for a company but I’m having a problem. So,: the freight itself is calculated by the Post Office system which access through an API; I have already done…
-
2
votes0
answers85
viewsSubdomain accessing only specific features with Rails
I’m using Rails 4.2.2 I have the following code in the config/Routes.Rb file: Rails.application.routes.draw do namespace :api, constraints: { subdomain: 'api' }, path: '/' do resources :users end…
-
2
votes1
answer199
viewsIs there any tool that makes it possible to create an API using my database?
I have a database all modeled and with a mass of data, now I need to develop an application that provides through a REST API this database. I have two development fronts, the frontend and the…
-
2
votes1
answer203
viewsHow to load this . json file into a google API?
I’m having trouble uploading a file. json that contains polylines from the city of Rio de Janeiro within the Google Maps API. I want to apply these polylines of routes between cities of Rio de…
-
2
votes1
answer207
viewsTreat JSON for Facebook API query
I’m making requests for a user’s posts to Facebook API as in the code below. //faz requisição $postagens = file("https://graph.facebook.com/".$url."/posts?access_token=".$token); //imprime as…
-
2
votes0
answers57
viewsCheck if one user is following another, using the SC (sound cloud) API in Javascript
I am developing a web page, where this page will be using the SC SDK API. What happens is, I’m not being able to use the function that checks if one user follows the other. In this case, the user…
-
2
votes1
answer95
viewsProblem with JSON - Python3.4
I am working with the Buscapé API in order to get information from some products on the site, the problem is that I cannot manipulate one of the values of the returned json. Below follows some…
-
2
votes1
answer2619
viewsHow to send data by XML file via an API integration to the server
I am using the Codeigniter Framework and trying to do a system integration via API using XML. I have to send a file with XML parameters to a server via post. Basically the server has to receive a…
-
2
votes1
answer1002
viewsHow do I get names of cities that are around me with API on a remote server?
Currently I use the lines of code below to list the city where I am through latitude and longitude, however, with the same coordinates, I want to list also the cities that are around, by mileage for…
-
2
votes0
answers197
viewsSend photo Api Rest nodejs
I am developing a restful api with nodejs and mongodb. And I am creating an endpoint for user registration, but I would like to send a photo at the time of registration. Which of the three solutions…
-
2
votes1
answer1438
viewsConsume API fipe in C#
I’m doing studies in C# and Mysql. I created a combobox calling for Marca and another call Modelo. I want to run the FIPE api to look for vehicle makes and models. There is this address below…
-
2
votes1
answer277
viewsAngularjs website accessing API, authentication doubt
I have an API written in PHP+Slim, which is being used by an administrative panel, and the authentication is via token, which is returned when the panel user logs in. However, I am making a site…
-
2
votes0
answers428
viewsAPI for obtaining quote data
I wanted to know if there is an API that provides data (json or XML) of dollar and euro quotes. And there is also one that provides the indicators of the values and rates of variation of…
-
2
votes1
answer1064
viewsIs it possible to integrate payments into my system with banking institutions?
Hello, I have a problem: I need to make a sum of money be deposited into a particular person’s account, from my system, which I implemented. I need to know if it’s possible to make payments or…
-
2
votes0
answers46
viewsIs it safe to store paypal paymentID in the database?
Hello, I would like to ask you if it is a good practice to keep the paypal paymentID after the purchase process? I would like to use this ID to do internal checks but I’m really undecided because I…
-
2
votes1
answer173
viewsLogic to make collection of books and movies using external data?
I was thinking of making a site that shows information from movies and books, for that I intend to take data from Aces like TMDB and Openlibrary. My idea is to join them in collections, for example…
-
2
votes0
answers472
viewsPagseguro does not redirect with transaction code
I am using the php pagseguro API so that after payment the client is redirected to a specific page, already set in Application > Redirect page the url and parameter you want to receive via GET.…
-
2
votes2
answers412
viewsgraphic with data from a REST service
I have a REST service done in PHP and this returns me data in JSON. When consuming the API url in REST, I need to display the data in javascript-based graphics. Does anyone know of a JS framework…
-
2
votes2
answers615
viewsHow to decode the following JSON? PHP
{ "data": { "app_id": "0000000", "scopes": [ "public_profile" ], "user_id": "00000000" } } I want to get the USER ID with json_decode. As caught?…
-
2
votes1
answer138
viewsSearch name region/city php
I am using Yahoo’s Weather API. The point is I want the time to be displayed for the user’s location. Considering I’m wearing the following: $BASE_URL = "http://query.yahooapis.com/v1/public/yql";…
-
2
votes0
answers864
viewsHow to use Token with PHP Rest
Guys, I decided to use the Token feature, to access my Rest I’ll be doing in PHP, mainly to learn this concept, but I don’t want to use a Framework ready, I even need to get the hang of it. Good…
-
2
votes2
answers908
viewsMap of Google Maps does not open after the app launched
I’m using the Google Maps Android API, but it’s not working when I send the app to Google Play. In debug it works normally and when I run the application by Android Studio too, but when I launch the…
-
2
votes0
answers41
viewsClient Rest + WPF - PUT method (UPDATE)
Hello, folks! I am trying to implement a method to update (update) information in a WPF application. Apparently, everything is correct, however, the method does not work. Here is the code: This is…
-
2
votes1
answer54
viewsDoubt with facebook API
I have a blog and want to create a button to like/share the blog posts on facebook. Put the option for the person to like and share the post on top of the blog comments. You can do this?
-
2
votes1
answer1043
viewsDatabase Request API For Angularjs
What API’s to make requests with database (mysql preference) that I have available to work integrated with Angularjs, some that is simpler to use and that runs on any server, I was going to use the…
-
2
votes1
answer153
viewsWhich Response default in a Rest api when partially executing an action?
#define API http://localhost:80/api/v1/resources. When making a POST in resources, the user(dev) can register/include an N number of Resources. Suppose some (ones) record could not be entered, but…
-
2
votes1
answer5424
viewsAPI BB web system implementation
I am developing a Web Project and I need it to generate a ticket for payment through an account of Banco do Brasil. But I never worked with boleto generator; Does anyone know if the BB provides any…
-
2
votes1
answer2909
viewsAccept payment via Credit Card via PHP with SSL
I have a system, which makes recurring charge of my clients. I already accept bank bill. Now I want to accept payment via credit card (NOT BY PAYPAL, PAYPAL, ETC) I want directly with the card…
-
2
votes3
answers1003
viewsPass value to service Factory in Engineering
I need to pass two values (page and total) of $Scope that are in the controller to a Factory service, how do I? Is there any good practice to do this? Service:…