Skip to main content

Questions tagged [api]

DO NOT USE. Use specific tags like [google-cloud-platform], [facebook], [amazon-web-services] instead or [api-design] where applicable. Questions asking to recommend or find an API are off-topic.

137 votes
9 answers
731k views

How do I get currency exchange rates via an API such as Google Finance? [closed]

Now, I did find the Google Finance API and started looking through that but I found a lot of info about portfolios, transactions, positions & other stuff I know nothing about. Am I looking at ...
Bogdan's user avatar
  • 5,408
44 votes
6 answers
224k views

How do I download a file using VBA (without Internet Explorer)

I need to download a CSV file from a website using VBA in Excel. The server also needed to authenticate me since it was data from a survey service. I found a lot of examples using Internet Explorer ...
Ole Henrik Skogstrøm's user avatar
346 votes
14 answers
1.2m views

REST API Best practices: Where to put parameters? [closed]

A REST API can have parameters in at least two ways: As part of the URL-path (i.e. /api/resource/parametervalue ) As a query argument (i.e. /api/resource?parameter=value ) What is the best ...
Kalle Gustafsson's user avatar
41 votes
4 answers
51k views

How to implement authorization using a Telegram API?

I want to implement multiple authorization using PHP for interaction with Telegram REST API. What task am I trying to solve? Well, it's simple: several dozens of users (all of them have a carma like ...
Павел Иванов's user avatar
6 votes
3 answers
2k views

How to call nested json data using API in flutter?

My JSON looks like this: { Info: [ { c_type_id: "1", cleaning type: "A Cleaning" }, { c_type_id: "2", ...
parveen's user avatar
  • 99
82 votes
8 answers
99k views

Timezone lookup from latitude longitude [closed]

Is there any library (or even better, web service) available which can convert from a latitude/longitude into a time zone?
Matt Sheppard's user avatar
127 votes
5 answers
323k views

Is there a Wikipedia API?

On my Wikipedia user page, I run a Wikipedia script that displays my statistics (number of pages edited, number of new pages, monthly activity, etc.). I'd like to put this information on my blog. ...
rbrayb's user avatar
  • 47.6k
59 votes
9 answers
105k views

Linux API to list running processes?

I need a C/C++ API that allows me to list the running processes on a Linux system, and list the files each process has open. I do not want to end up reading the /proc/ file system directly. Can ...
Thomi's user avatar
  • 11.7k
67 votes
1 answer
43k views

Recommended ServiceStack API Structure

I'm trying work out the best way to structure our API; we have Reviews which we've setup in a standard REST structure (list one, list all, create, update etc). Where it doesn't quite fit the examples ...
Tim's user avatar
  • 5,593
111 votes
12 answers
160k views

How to Logout of an Application Where I Used OAuth2 To Login With Google?

In my application, I implemented Google signout using jsapi. I used the url https://www.googleapis.com/oauth2/v1/tokeninfo?access_token=xxxxxx to connect to Google and then https://www.googleapis.com/...
Vinesh EG's user avatar
  • 1,345
35 votes
5 answers
40k views

What is the equivalent to Posix popen() in the Win32 API?

Is there a rough equivalent to the Linux/Unix stdio.h popen() function in the Win32 API? If so, where can I find it? Edit: I need to know this to patch an omission in the D standard library. Any ...
dsimcha's user avatar
  • 68.3k
2 votes
1 answer
5k views

How to post JSON data to FastAPI backend without using Swagger UI?

I am trying to do a simple POST operation using FastAPI. I have created a basic structure using BaseModel, which has only two attributes, namely name and roll. import uvicorn from fastapi import ...
krishna's user avatar
  • 83
49 votes
3 answers
159k views

Free Rest API to retrieve current datetime as string (timezone irrelevant) [closed]

I am seeking a reliable REST API that can provide world time and time zone information across platforms. I need the current time as a string. I'd like it to return the result in under a second, ...
chadoh's user avatar
  • 4,352
40 votes
5 answers
62k views

How to create and run Apache JMeter Test Scripts from a Java program?

I want to use the API provided by Apache JMeter to create and run test scripts from a Java program. I have understood the basics of ThreadGroup and Samplers. I can create those in my Java class by ...
Alim Ul Gias's user avatar
  • 6,691
1 vote
1 answer
1k views

karate-gatling report aggregation

One question as just starting to use karate-gatling: is it possible to aggregate the reports generated? So after multiple runs to get one single report? It would be nice to be able to compare somehow ...
DDana's user avatar
  • 117

15 30 50 per page
1
2 3 4 5
417