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
-
1
votes0
answers133
viewsLoad a DLL from inside a jar
Hello, I am currently working with a project where I need to create a java API for image processing and after that I have to integrate it into a mobile module and a web module. But when I tried to…
-
1
votes1
answer447
viewsHow to generate JSON dynamically to feed future application?
What I want to do is this: Create a minimalist application that does a database search, returns the result in JSON, and this result is interpreted by external applications via http, with no change…
-
1
votes1
answer234
viewsError while consuming Github API V3 using Httpclient or even Httpwebrequest
I’m unable to consume the Github V3 API with basic authentication (without using Octokit). I know it works with Restsharp but I want to know why it doesn’t work with HttpClient and HttpWebRequest. I…
-
1
votes1
answer268
viewsjava Response json out of order
Guys I’m making a java API to be consumed by Excel. I’m making a bank select by bringing the columns in the right order, but when it arrives in Excel it arrives in a half crazy order. I also made a…
-
1
votes0
answers13
viewsidentify map marker of third-party websites
Is there any method of 'tracking' the map marker (google maps) of the third party site? For example: on this website Is there any way you could track down this marker on the map? It would be a style…
-
1
votes1
answer129
viewsAndroid error post method
I would like to make the username string send to the bank after being clicked on the button, but is giving error in the lines: at…
-
1
votes1
answer149
viewsAPI to grab image from a search engine
I will have to add a function on the site I am working on that the user will search by image name in some web search engine (this may be Google, Yahoo, Bing and so on) and the images found will be…
apiasked 7 years, 2 months ago WitnessTruth 1,017 -
1
votes2
answers65
viewsAndroid String Post http
I have a code that I would like you to do a "Post" of the email string after clicking on the button, the post code is apparently correct , but the button is not working.. logcat does not return any…
-
1
votes3
answers63
viewsHow to specify a maximum of digits in a var in Javascript
I’m with a Javascript code from an API where I’m getting a number with enough digits after the point: 39.576911261669586 I wanted to assign this number to a variable showing only 4 digits, this way:…
-
1
votes0
answers778
viewsHow to extract data from Facebook with Pyhon?
I’m trying to better understand the behavior of people who liked my page; who they are and what they like. Is it possible to get this personal data from users (name, city, age, likes) with python on…
-
1
votes0
answers1284
viewsHow do I import third-party libraries for an Eclipse project?
I’m trying to use two third-party libraries for a Java project in Eclipse: iText (to generate a PDF) and Javamail (to send this PDF by email), but I’m not able to or import them... I’ve tried…
-
1
votes1
answer605
viewsHow to make notifications like Facebook? Angularjs or Javascript
I’d like to include notifications in my app. The app will be in Ionic, Angularjs, jQuery, Nodejs... is there a way for the app to run a function every X time? This function would get in Nodejs...…
-
1
votes0
answers18
viewsPhppresentation LIB How to disable annotations
A power point presentation comes by default this line written "click to add annotations" appearing, as shown in the image: Does anyone know or can help me find in this library how to disable?…
-
1
votes1
answer55
viewsHow to get a list of all questions and alternatives Moodle?
Hello, I am developing an android app with java for the Moodle platform, and I would like to know if there is a function that returns a list with the quiz question and the alternatives. Something…
-
1
votes1
answer427
viewsProblems making call using Retrofit on Android
I’m a student and I’m having a hard time understanding where I’m going wrong in a job that the teacher went through. Briefly describing, the teacher provided an API on Github, which after the…
-
1
votes1
answer9213
views -
1
votes0
answers51
viewsAPI of camera2?
Does anyone know where I can find camera2 api in javascript?? API to use in apps who need an image captured and sent as Snapchat among others
-
1
votes1
answer1831
viewsPython API for real-time commodity values
I need an API that can provide me with real-time commodity prices (more specifically, Arabica Coffee price) I know practically nothing about the stock market, but I did some research and found that…
-
1
votes1
answer150
viewsGoogle Analytics use API . NET for pageviews information
How do I search for Pageview information from a particular URL of my website via programming using some Google Analitcs API. Note that I already have the whole site configured in Google Analytics.…
-
1
votes0
answers29
viewsRoute to Many-to-Many relationship
I have a related REST API question, if anyone can help, thank you very much. I have two entities, Product and Store, which has a Many-to-Many relationship between them. A Product may be available in…
-
1
votes0
answers2258
viewsAPI for barcode query
I’m negotiating with a company a software to be developed, among the needs arose the registration of the product quickly without needing many user entries. Therefore I had the idea of maybe getting…
-
1
votes0
answers727
viewsSearching for data in the Tmdb API
I have a website about movies made in PHP (codeigniter), I intend to use the site API themoviedb.org to search and show the information to users. And the first time I use an API and would like to…
-
1
votes0
answers550
viewsLaravel - Help with Authentication
I’m using Laravel 5.3 and I’m having a headache with Authentication. I’m using make:auth. So far it’s simple, but let’s look at the scenario below. In my project, when I log in I send the email and…
-
1
votes1
answer357
viewsRestcontroller Spring, how to limit the number of requests!
Dear friends, I have a API Rest with the RestController from Spring, it receives hundreds of simultaneous posts, and with each post, I need to query and store data in the database. The problem is…
-
1
votes1
answer265
viewsNumbers in Cpf (JS) format
I get numbers from a Cpf coming from the API, then it goes to a table that I made, only the numbers are not in Cpf xxx.xxx.xxx-xx format and I would like it to stay, but I don’t know how. Just click…
-
1
votes1
answer61
views -
1
votes2
answers1634
viewsSearch the city for DDD
I’m making an app that has phone numbers. To make life easier for users, I would like to return the DDD that does not appear in some numbers. Does anyone know any API, or anything like that to…
-
1
votes0
answers82
viewsDisable JS script on certain pages
I added a JS script in the PHP base of my project in Codeigniter, this makes other controllers also run this script. How would a particular page not run this script?
-
1
votes0
answers1478
viewsHow to consume the Linkedin API?
I am working on developing an application that will consume data from Linkedin, user data after logging in it. I managed to progress to the AUTHORIZATION CODE phase, but I could not pass. 1 - I made…
-
1
votes1
answer388
viewsBest practice for sending authorization via HTTP header
I am developing a Rest api, I need to pass some data on all the requests that are basically the required authorization. The data are: Token, unit and an id. What better way to pass this via header.…
-
1
votes0
answers751
viewsJson quotation with the return of the value of Commodities like Soy and corn
I am recovering a list in JSON/XML using the function of obtaining the quotations of commodities such as SOY and CORN. Could you point me to a source?
-
1
votes0
answers660
views -
1
votes1
answer6084
viewsConsume api with Laravel
I’m looking in the documentation of Laravel, in several places , but I haven’t had success yet I’m looking for somewhere that has a tutorial how to consume an api with Laravel!
-
1
votes0
answers163
viewsHow Can I Record an Audio with Android API Audiorecorder In Delphi Pascal
I have a small project where I need to record an audio by the android API through Delphi with Pascal, but I haven’t had much success in my codes. Could someone help me in this dilemma? what I have…
-
1
votes0
answers310
viewsHeatmap from the Google API
I was working on a project that involves taking coordinates (lat and long) and using them to create a Map with markers (which is working) and a Heatmap (which is the focus of the problem). I used an…
-
1
votes1
answer589
viewsHow to receive an array in the body of a nodejs route
Good morning, guys. I’m having a really hard time. I started a week ago studying in nodejs, so I’m well. I have a code that returns an object in json format to me and I would like to create a page…
-
1
votes1
answer45
viewsHow do I get the given 'distance' in JSON in this example?
How do I get the given 'distance' in JSON in this example? $url =…
-
1
votes0
answers32
viewsIs there any (viable) way to develop Windows software on Linux? Any application for this?
I’m trying to create a cross-Plataform application (for academic reasons), which at least works on Windows and Linux. For development I can only use standard libraries of c/c++ and the native API of…
-
1
votes1
answer203
viewsObject as parameters for C#API
I have a request made in Angular for C#. However I don’t know how to receive the data in My API In C#. getWithFilters(filter: any) { let parametros: any = { razaoSocial: filter.razaoSocial, cnpj:…
-
1
votes1
answer50
viewsHow to maintain cohesion in my REST API?
I have two features of a REST API Specialists and Services. An expert can perform various services. I needed to list all services that have at least one associate expert. get services/? criteria get…
-
1
votes1
answer244
viewsGoogle Search + Delphi 10.2 Tokyo Results
I looked for Apis Google to create a code that shows Google results in apps Delphi 10.2 Tokyo, but I didn’t find Apis recent. I need the following, the user type in a Edit the term you want to…
-
1
votes2
answers368
viewsDjango Rest compare user 'sector' id with publication 'sector' id
Well, I’m messing with an API and I want it to return content only when the user sector is equal to the publishing sector API for publications: The user has a sector field also equal to this, and…
-
1
votes2
answers2270
viewsRequest blocked by CORS Policy
I’m making an API with Slim Framework and when I test the answer with Postman everything works very well, but when I put it on the server and tried to make an ajax call to test I got the error…
-
1
votes1
answer239
viewsGood Practice in APIS Rest Full with PHP and Doctrine ORM 2
Currently we have a system that uses Doctrine ORM2, we have our Entities, and themes our DAOS, within our DAOS classes we have several methods that we use to make queries, Change, Insert and Delete…
-
1
votes0
answers83
viewsEndpoint accept object and object array
This is a question that refers more to good practices. The scenario is that I have 2 endpoints to receive a given record. In the first I receive the object and register one by request. In the second…
-
1
votes1
answer167
viewsProblem with Laravel API in production
I have deployed an API in Laravel. The problem that is occurring is the following: the online API always returns me '200 ok', without at least getting to the login controller. With this same API, I…
-
1
votes0
answers72
viewsError while consuming REST service. Attribute exists
Does anyone know the reason for the error below, when trying to access consume a webservice? It was working normal, and started to present this error. I already did Refresh in the classes, there was…
-
1
votes0
answers47
viewsJSON for websocket gives error
I send a JSON to the websocket. JSON and sending is set like this: var binary = btoa(Uint8ToString(view)); var toSend = { 'fileName': fileName, 'sequence': SendedChunks, 'data': binary.toString() };…
-
1
votes1
answer996
viewsSecure Pay API to pick up payment status by ID
Hello, I searched a lot about it looking at Pagseguro’s git but I couldn’t understand, what I want is the following meusite.com/check.php? id=ID-DA-TRANSACTION-? token=MY-TOKEN? email=MY-EMAIL Like…
-
1
votes0
answers221
viewsI can’t initiate nodemon
I am trying to initialize a project with postgre access but it does not start when running the command. follows the error : Error: listen EADDRINUSE :::3000 at Object.exports._errnoException…