Questions tagged [api]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
36 views

Creating an online interactive interface

I want to cloud deploy a dynamic interface on which I have multiple types of widgets for different parameters and where, upon the click of a button, I send a list of arguments to a certain function, ...
2
votes
0answers
88 views

BlockchainBlockData request limit exceeded

I'm trying to replicate this Blog entry on Bitcoin queries: https://blog.wolfram.com/2021/05/25/sleuthing-darkside-crypto-ransom-payments-with-the-wolfram-language/ However, I don't get very far ...
2
votes
1answer
77 views

Deploying A Classifier Function

Let's say we train a classifier on the titanic dataset cl = Classify[ ResourceData["Sample Data: Titanic Survival"] -> "SurvivalStatus"] ...
1
vote
0answers
96 views

Is anyone aware of Mathematica implementation of OpenAI's GPT-3 API?

Is anyone aware of Mathematica's implementation of OpenAI's GPT-3 API?
0
votes
0answers
16 views

How to specify authenticity of SSL for querying APIs?

While ago I was using this command with no issue, now I have an SSL error: ...
1
vote
1answer
34 views

How to pass a URL parameter to FormPage?

I'm trying to pass a parameter on a FormPage. I know that passing parameters on a APIFunction works, like: https://wolframcloud.com/...?x=5&y=10 But, I see no ...
5
votes
1answer
132 views

How to enable WakaTime for the Mathematica front end?

WakaTime is a tool for logging one's coding activities, and now have amazing coverage for code editors. Although I write Wolfram in VS Code, I still spend a lot of time tweaking and testing in the ...
0
votes
0answers
36 views

When I insert an if block into the ScheduledTask, I'm entering the password and the program is closing

I'm new in Mathematica. So I'm unable to settle a matter. When I insert an if block into the ScheduledTask, I'm entering the password and the program is closing. What is my mistake? Can you help me ...
8
votes
1answer
125 views

Generating Google BigQuery API Access Token in Wolfram Language

I'm working on a Wolfram Language Package to connect into Google Bigquery (that I'll make public available). In order to finish It, I need to solve a last step, that is how to get an authentication ...
1
vote
1answer
77 views

Accessing Nutritionix API

I'm working on a project to build a graph based on nutritional elements of common foods. A popular source of this information is Nutritionix, which provides data via a set of APIs. I'm using MMA (v12....
3
votes
0answers
106 views

APIFunction with TextRecognize problems

I have a simple API that takes a recipe and returns the list of ingredients: ...
4
votes
0answers
41 views

I need an API Form which returns the data for two ZIPCodes. Has anyone seen any Wolfram code like that?

I would like to CloudDeploy a form in which the user enters two zip codes and receives back from the Wolfram Curated Data, for each of the two zip codes, the location name (city, town, or county), ...
2
votes
1answer
44 views

Authentication dialog triggered by URLExecute in Wolfram player does not allow me to type in username/password

I have exploration tool that reaches out to elasticsearch for data from a Manipulate call. The idea is to share a notebook with some support folk and they can ...
1
vote
1answer
100 views

Cannot submit valid form in FormFunction

I have a simple FormFunction like this: FormFunction[{"expr" -> ToExpression}, HTTPRequestData[] &] When I use ...
1
vote
1answer
141 views

How to download user faves on Flickr?

The Flickr service API doesn’t seem to have the getfavorites() request implemented. Is there an good way to do this with WebExecute? Code to get started with: For ...
1
vote
1answer
66 views

Where does Wolfram publish an index of built-in functions on the web? [duplicate]

Where is a online reference for the built-in functions of Mathematica/Wolfram?
2
votes
0answers
100 views

How to use EmbedCode with CloudDeploy correctly?

I ran EmbedCode[CloudDeploy[Manipulate[Plot[Sin[x + c], {x, -6, 6}], {c, -1, 1}]]] based on this instruction and obtained the html code for embedding as below:- <...
2
votes
1answer
170 views

How to make an API with CloudDeploy to download an image into the local disk?

Actually related question 127248. But in that post, the answer from Kuba suggest provide a URL for API-user. But I still hope the API can output the file into the local disk directly. Is it possible? ...
2
votes
1answer
62 views

How can I deal with a 502 error? [closed]

I am working on a program that interfaces with a web API. Mathematica runs perfectly fine for a few hours and then, after a while, will sometimes return: The request to URL https://api.polygon.io/...
2
votes
0answers
461 views

Is there a API to scrape WhatsApp?

Is there an API to scrape WhatsApp messages into Mathematica? Either doing it directly in Wolfram Language or using some python API and WL's ExternalEvaluate. All ...
6
votes
0answers
158 views

Can I use Mathematica and the Google BigQuery API

I would like to query a large public dataset hosted in Google BigQuery using the Google BigQuery API. I notice there are client libraries for C#, Go, Java, PHP, Python, and Ruby along with examples ...
2
votes
1answer
80 views

How to pass a list to APIFunction?

My problem is I have a list of 170 values. To use API function, I had to represent these values by 170 parameters (not the most elegant thing). My question is, can I pass a list to APIFunction, or ...
2
votes
0answers
45 views

Deploy APIFunction on my server? [duplicate]

I have an APIFunction and I would l like to serve it from my own machine. I already have a license and an AWS account and I don't want to pay cloud credits or run my code on someone else's hardware. ...
0
votes
0answers
494 views

HTTPRequest and Verbose cURL (curl -vX …)

Using CouchDB, Windows 10, M11.3 This curl command works fine at the command line, curl -X PUT http://127.0.0.1:5984/dbName and this works fine with ...
5
votes
0answers
155 views

Connecting to Twitter API Manually in Mathematica to Pull Down All Followers of a Specified User (e.g. More than 5,000)

I have been going through old StackExchange threads to see how to potentially use Mathematica's built-in connection/authentication to the Twitter API to connect to it manually, and access some ...
2
votes
0answers
56 views

connecting to an existing application's C API from Mathematica

I have a general question about accessing the contents of an existing application's C API (https://libfive.com/) from Mathematica. Can it be done, and some hints on how? I am about to embark on ...
6
votes
1answer
104 views

How to CloudDeploy an APIFunction that takes audio as input?

I have a function whose argument is Audio and I'd like to deploy it as an API (and then call it from Python). This works as with ...
3
votes
1answer
902 views

API HTTP Request Signing using base64 encoding/decoding and HMAC (Cryptocurrencies Exchange, GDAX)

I am trying to access the GDAX API private methods which can be seen here, GDAX Documentation There is some great Python code that does it that I am trying to recreate in Mathematica. That code can ...
5
votes
1answer
404 views

APIFunction can not access HTTP request body when used with URLDispatcher

I noticed a strange behavior regarding the APIFunctionwhen used with URLDispatcher. It does not allow me to access the body of a ...
6
votes
1answer
467 views

Oauth for Khan Academy API

About the project I’m am building an online dashboard for my students that shows their up-to-the-minute Khan Academy progress. This will require access to the Khan Academy API. I’d like to build ...
7
votes
1answer
349 views

How to upload an image to the Stack Exchange Imgur account?

This is not a duplicate of How to call Imgur API. I tried to upload to imgur using its API, but (as my friends test) the API of imgur cannot be called in Chinese mainland. Then I found that ...
2
votes
1answer
538 views

How to call Imgur API

My image host returns a link starting with http://. It seems this format is not supported in SE anymore. To avoid this, I want to change the image host to Imgur. ...
1
vote
0answers
147 views

Mathematica C WSTP example never returns [closed]

...
2
votes
1answer
357 views

Tweeting an image, using URLExecute?

I am trying to tweet an image from Mathematica. I know, this should work on 11, but I am still using 10. My bad. How I understand that it should work get an authorisation token. Check. Upload an ...
4
votes
2answers
308 views

How to call Picture Bed API

I want to call this Picture bed API to upload my picture and return its link.I have translated the official instructional the page into English.And there is a example succeed to use it with Python. I ...
6
votes
1answer
357 views

How do I display my weather data in JSON format from Wolfram Mathematica API?

Good day I am trying to display my weather data in a JSON format in order to use it in an iOS app (using swift in Xcode). This is what my code looks like at the moment: ...
2
votes
1answer
156 views

How to return multiple types in APIFunction?

I'd like to publish an api that returns an image as well as a number, but it seems that the docs for APIFunction specifies only a single possible format type: Here's an example to play with: ...
17
votes
0answers
246 views

Current (e.g., ca. 2016 / MMa 10 / WP 4+) best practices for embedding interactive content in WordPress?

My strategy, in the past, has been to embed interactive CDF files into my WordPress blog for student's to use (Much like the Wolfram Demonstration Project). As many know 1) the 'Plug in' ...
6
votes
1answer
449 views

APIFunction on Images

Would someone example why my hello-world example is not working: ...
3
votes
1answer
161 views

How to CloudDeploy an API and then use curl?

I'd like to see a single example of APIFunction deployed that is accessible via curl, not a web browser. For example: ...
5
votes
1answer
1k views

How to access a web API with HTTP POST and JSON

I want to get data using HTTPS from POST https://developers.betfair.com/api.betfair.com/exchange/betting/json-rpc/v1 HTTP/1.1 using JSON ...