Questions tagged [api]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
42 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 ...
user avatar
  • 250
3 votes
2 answers
63 views

Character encoding of the output from URLExecute

Bug persisting through 13.0.1 I'm using URLExecute to fetch some data from the arXiv preprint server but it seems that the encoding of the text I get is not ...
user avatar
  • 3,302
1 vote
2 answers
193 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 ...
user avatar
0 votes
0 answers
38 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 ...
user avatar
  • 145
0 votes
0 answers
36 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 ...
user avatar
2 votes
0 answers
58 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, ...
user avatar
  • 4,138
2 votes
0 answers
104 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 ...
user avatar
  • 591
2 votes
1 answer
99 views

Deploying A Classifier Function

Let's say we train a classifier on the titanic dataset cl = Classify[ ResourceData["Sample Data: Titanic Survival"] -> "SurvivalStatus"] ...
user avatar
  • 747
1 vote
0 answers
136 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?
user avatar
  • 361
0 votes
0 answers
22 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: ...
user avatar
1 vote
1 answer
45 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 ...
user avatar
  • 138
5 votes
1 answer
142 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 ...
user avatar
  • 648
0 votes
0 answers
42 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 ...
user avatar
  • 11
9 votes
1 answer
181 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 ...
user avatar
  • 25.3k
1 vote
1 answer
144 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....
user avatar
  • 647
3 votes
0 answers
116 views

APIFunction with TextRecognize problems

I have a simple API that takes a recipe and returns the list of ingredients: ...
user avatar
  • 30.3k
4 votes
0 answers
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), ...
user avatar
  • 579
2 votes
1 answer
47 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 ...
user avatar
  • 1,661
1 vote
1 answer
112 views

Cannot submit valid form in FormFunction

I have a simple FormFunction like this: FormFunction[{"expr" -> ToExpression}, HTTPRequestData[] &] When I use ...
user avatar
1 vote
1 answer
174 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 ...
user avatar
  • 30.3k
1 vote
1 answer
67 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?
user avatar
2 votes
0 answers
112 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:- <...
user avatar
  • 3,389
2 votes
1 answer
185 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? ...
user avatar
  • 23.1k
2 votes
1 answer
66 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/...
user avatar
  • 1,397
2 votes
0 answers
499 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 ...
user avatar
  • 8,105
6 votes
0 answers
171 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 ...
user avatar
  • 91
2 votes
1 answer
88 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 ...
user avatar
  • 839
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. ...
user avatar
  • 3,720
0 votes
0 answers
554 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 ...
user avatar
  • 146
5 votes
0 answers
166 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 ...
user avatar
2 votes
0 answers
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 ...
user avatar
  • 53
7 votes
1 answer
118 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 ...
user avatar
  • 3,720
3 votes
1 answer
916 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 ...
user avatar
  • 1,269
5 votes
1 answer
436 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 ...
user avatar
  • 14.2k
6 votes
1 answer
485 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 ...
user avatar
7 votes
1 answer
368 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 ...
user avatar
  • 23.1k
2 votes
1 answer
617 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. ...
user avatar
  • 23.1k
1 vote
0 answers
156 views

Mathematica C WSTP example never returns [closed]

...
user avatar
  • 931
2 votes
1 answer
372 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 ...
user avatar
  • 21
4 votes
2 answers
320 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 ...
user avatar
  • 23.1k
6 votes
1 answer
365 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: ...
user avatar
2 votes
1 answer
166 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: ...
user avatar
  • 30.3k
17 votes
0 answers
251 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' ...
user avatar
  • 1,760
6 votes
1 answer
481 views

APIFunction on Images

Would someone example why my hello-world example is not working: ...
user avatar
  • 30.3k
3 votes
1 answer
163 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: ...
user avatar
  • 30.3k
6 votes
1 answer
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 ...
user avatar