Skip to main content

Questions tagged [api]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
73 views

How to setup HTTPRequest of type multipart/mixed with boundary properly in Wolfram Language?

I am trying to query the Tableau REST API using Wolfram. I have been able to send all the other types of HTTPRequest to it ...
user13892's user avatar
  • 9,443
2 votes
0 answers
63 views

How do I use third-party OpenAI API services?

The address of my request is not the official website of Openai, but another address. In the preferences of the software, I only found the key, I need to change the request address until I am? Please ...
SH A's user avatar
  • 21
6 votes
1 answer
137 views

Deleting a Stored API Key for GoogleSpeech

When using "GoogleSpeech" in SpeechSynthesize for the first time, a window opens asking for the API key. I entered ...
EricMock's user avatar
  • 353
0 votes
0 answers
41 views

Problem Formatting Imported URL Plaintext

I created a simple Wolfram Cloud API that Imports[] a URL and returns the Plaintext: ...
MSC02476's user avatar
  • 699
0 votes
0 answers
55 views

How to use JLink to connect and read data from Tableau Hyper using Hyper API?

First of all, here is the link to download the API for Java for Windows. I initially wanted to use NETLink since I have some experience with it but they have ...
user13892's user avatar
  • 9,443
3 votes
0 answers
133 views

How to get satellite image directly from Mathematica?

First, I get the image of the bands of the desired area from the site https://earthexplorer.usgs.gov/, then I import the images into Mathmatica by addressing them as below: Select dataset directory: <...
Erfan's user avatar
  • 169
1 vote
1 answer
116 views

Is there any Mathematica API for Z3?

Z3 has bindings for various programming languages, e.g., C, C++, Java, Python, and so on. Are there any for Mathematica? Or how to implement one?
hengxin's user avatar
  • 840
1 vote
1 answer
500 views

Format of api call for Open AI chat completions endpoint

I've been using MMA (v13.1.0) to experiment with various apis provided by OpenAI (https://platform.openai.com/docs/api-reference). For example, OpenAI provides a chat completion endpoint using the '...
MSC02476's user avatar
  • 699
0 votes
1 answer
105 views

Error "cannot find the required native library named JLinkNativeLibrary"

I have a problem running my test program on linux. I want to connect to mathematica kernel using java API. On windows, I put both jlink.jar and JLinkNativeLibrary.dll next to my executable file, let's ...
Azzurro94's user avatar
  • 499
0 votes
0 answers
74 views

Can I connect to Cloud API using Java code?

I have a Java program that connects to a Mathematica Kernel, installed on my computer. I am able to call the APIs and receive the expression results, like to the code below. But is there any cloud ...
Azzurro94's user avatar
  • 499
0 votes
0 answers
45 views

How can we change the EoS (to PR using the Flags function) for REFPROP used within Mathematica?

I would like to change the EoS used by REFPROP to the PR EoS for several calculations. It's stated that the Flags function must be used. " Peng-Robinson or PR 0: Turn off the Peng-Robinson ...
user265228's user avatar
0 votes
1 answer
115 views

How to obtain stock information from a website

I want to obtain some information of stock markets from TradingView website. For instance, let us access to S&P index chart through the URL, https://www.tradingview.com/chart/?symbol=SP%3ASPX Now, ...
cheese.burger's user avatar
0 votes
1 answer
51 views

Combine multipage API results in Mathematica

Updated to show more code Can't seem to find a good post/answer to this so I'm asking the question. I'm pulling data from the Swarm/Foursquare API, and it's paged (max 250 results per pull): ...
Steven Buehler's user avatar
4 votes
1 answer
76 views

How to specify the type/Head of the optional named arguments to a function?

I am trying to improve my own dsolver API. Currently it takes optional arguments. Is it possible to specify that an optional argument should say be String only? Or List Only? Or Integer only? and so ...
Nasser's user avatar
  • 145k
0 votes
0 answers
46 views

ServiceConnect with Instagram [duplicate]

WRI has told me they don't support Instagram anymore due to their change in privacy policy. Instagram still remains in $Services. I came across this and was ...
kits's user avatar
  • 280
3 votes
2 answers
97 views

Character encoding of the output from URLExecute

Bug persisting through 13.1.0 [CASE:4932406] I'm using URLExecute to fetch some data from the arXiv preprint server but it seems that the encoding of the text I ...
vsht's user avatar
  • 3,527
2 votes
2 answers
1k views

Getting stock quotes from Yahoo Finance API in Mathematica

I have obtained a Yahoo Finance API key and would like to try it out by making a simple request from within Mathematica. Their tutorial page has some nice little example code snippets in various ...
user143410's user avatar
0 votes
0 answers
44 views

Instant API and cloud deploy not updating correctly

I set up an API and cloud deployed it to get the current weather in my city with ...
Mike's user avatar
  • 165
0 votes
0 answers
62 views

taking a mathematica notebook on the cloud, mathlink applications, data file input and turning it into an API

I have several mathematica applications, usually made of a single notebook calling several .m files and usually importing data from some datafiles (.txt) and linking some external mathlink ...
Giorgio Busoni's user avatar
2 votes
0 answers
75 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, ...
sam wolfe's user avatar
  • 4,863
2 votes
0 answers
119 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 ...
spore234's user avatar
  • 601
3 votes
1 answer
201 views

Deploying A Classifier Function

Let's say we train a classifier on the titanic dataset cl = Classify[ ResourceData["Sample Data: Titanic Survival"] -> "SurvivalStatus"] ...
isaac5122's user avatar
  • 847
7 votes
1 answer
738 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?
blackace's user avatar
  • 415
0 votes
0 answers
34 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: ...
user305883's user avatar
1 vote
1 answer
80 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 ...
Cabral's user avatar
  • 138
5 votes
1 answer
150 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 ...
Gravifer's user avatar
  • 872
0 votes
0 answers
47 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 ...
seher's user avatar
  • 31
9 votes
1 answer
256 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 ...
Murta's user avatar
  • 26.3k
1 vote
1 answer
534 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....
MSC02476's user avatar
  • 699
3 votes
0 answers
134 views

APIFunction with TextRecognize problems

I have a simple API that takes a recipe and returns the list of ingredients: ...
M.R.'s user avatar
  • 31.5k
2 votes
1 answer
69 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 ...
SEngstrom's user avatar
  • 1,721
2 votes
1 answer
141 views

Cannot submit valid form in FormFunction

I have a simple FormFunction like this: FormFunction[{"expr" -> ToExpression}, HTTPRequestData[] &] When I use ...
bcegkmqs23's user avatar
1 vote
1 answer
205 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 ...
M.R.'s user avatar
  • 31.5k
1 vote
1 answer
70 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?
Dan Kowalczyk's user avatar
2 votes
0 answers
118 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:- <...
H42's user avatar
  • 3,479
3 votes
1 answer
222 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? ...
yode's user avatar
  • 26.8k
2 votes
1 answer
80 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/...
Jmeeks29ig's user avatar
  • 1,447
2 votes
0 answers
646 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 ...
user13892's user avatar
  • 9,443
6 votes
0 answers
209 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 ...
Damo's user avatar
  • 91
2 votes
1 answer
128 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 ...
user34018's user avatar
  • 869
2 votes
0 answers
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. ...
user5601's user avatar
  • 3,655
0 votes
0 answers
629 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 ...
Mitch's user avatar
  • 146
6 votes
0 answers
180 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 ...
Benjib's user avatar
  • 81
2 votes
0 answers
57 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 ...
Richard's user avatar
  • 53
7 votes
1 answer
134 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 ...
user5601's user avatar
  • 3,655
3 votes
1 answer
1k 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 ...
Ray Troy's user avatar
  • 1,299
6 votes
1 answer
507 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 ...
PlatoManiac's user avatar
  • 14.8k
6 votes
1 answer
540 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 ...
Matt Green's user avatar
7 votes
1 answer
412 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 ...
yode's user avatar
  • 26.8k
2 votes
1 answer
688 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. ...
yode's user avatar
  • 26.8k