Skip to main content
11 votes
Accepted

Oauth for Khan Academy API

Update: Full Flow So after much wrangling here is the full OAuth 1.0 flow. ...
b3m2a1's user avatar
  • 47k
8 votes
Accepted

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

There is a paclet OpenAILink (by Christopher Wolfram): Also, check-out the paclet 'OpenAIMode':
Anton Antonov's user avatar
7 votes
Accepted

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

Update on June 29th, 2020 Since API has changed, the new code is here: ...
vapor's user avatar
  • 7,921
6 votes
Accepted

Generating Google BigQuery API Access Token in Wolfram Language

Google Cloud Platform uses the RS256 algorithm to send JWT and retrieve the tokens, all that is needed is to make a function that builds the JWT and creates a signature using ...
Cabral's user avatar
  • 138
6 votes
Accepted

How to CloudDeploy an APIFunction that takes audio as input?

You can create an APIFunction with a very similar syntax and return e.g. a png" ...
Kuba's user avatar
  • 137k
6 votes
Accepted

Deleting a Stored API Key for GoogleSpeech

You can retrieve your saved service connection to Google Speech with ...
Domen's user avatar
  • 28k
5 votes
Accepted

How to call Picture Bed API

Using URLFetch[]: ...
J. M.'s missing motivation's user avatar
5 votes

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

The : is used for named patterns, it's not part of any key-value data structure in Mathematica. You will not find it used in the way you propose anywhere in the ...
C. E.'s user avatar
  • 70.9k
5 votes

Tweeting an image, using URLExecute?

This should work with ServiceConnect. ...
dsingh's user avatar
  • 669
4 votes

How to pass a list to APIFunction?

I found the answer in here https://community.wolfram.com/groups/-/m/t/1055892 api1 = APIFunction["x" -> RepeatingElement["Integer"], Max[#d]&] But ...
user34018's user avatar
  • 899
4 votes

APIFunction can not access HTTP request body when used with URLDispatcher

So after some digging and breaking "MQTTLink`" for while I found that "MQTTLink`" is passing garbage out to its handler ...
b3m2a1's user avatar
  • 47k
4 votes

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

You can use the channel framework to communicate between your local session and the cloud api you deploy. First create a channel listener with public permissions in your local session: ...
GenericAccountName's user avatar
3 votes

Getting stock quotes from Yahoo Finance API in Mathematica

Here's one way to get there: ...
lericr's user avatar
  • 30.5k
3 votes

How to call Picture Bed API

In Mma 11, you can use this function URLRead[]. e.g. ...
Li Xuan's user avatar
  • 336
3 votes

How to call Imgur API

Here's a starting point: after getting your own client ID from here, use the following code, which uses URLFetch[] like in this previous answer: ...
J. M.'s missing motivation's user avatar
3 votes

How can I deal with a 502 error?

Alright, I got into contact with the support for the API, and the problem was resolved on their end. Apparently, it was an error in the routers' networking configuration.
Jmeeks29ig's user avatar
  • 1,447
3 votes

Accessing Nutritionix API

This request works: ...
C. E.'s user avatar
  • 70.9k
2 votes
Accepted

Cannot submit valid form in FormFunction

As @Kuba had commented, ImportString[#, "HTTPRequest"]& does not turn POST parameters to rules. So the property "FormRules", ...
bcegkmqs23's user avatar
2 votes

Deploying A Classifier Function

After a bit of playing around, I think I have a workable solution to share. Firstly, let's create a classifier using the titanic datset. ...
isaac5122's user avatar
  • 847
2 votes
Accepted

How to pass a URL parameter to FormPage?

The documentation shows using Apply to allow passing every parameter on FormPage via ...
Josh Bishop's user avatar
2 votes
Accepted

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

I am not sure how to get this working when using OptionsPattern explicitly but at the cost of a bit more syntax when calling ...
N0va's user avatar
  • 3,410
2 votes
Accepted

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

I suspect the issue is that there is no blank line separating the headers from the body within each of the subparts. For example: ...
WReach's user avatar
  • 69.2k
1 vote
Accepted

Format of api call for Open AI chat completions endpoint

To export JSON arrays you need wrap them by list or association, like ...
Lacia's user avatar
  • 2,443
1 vote

How to obtain stock information from a website

I do not think it is possible as it looks like TradingView has blocked scraping so Import does not work. You can try the inbuilt function ...
IntroductionToProbability's user avatar
1 vote

Combine multipage API results in Mathematica

Apparently I have to go one at a time on the Append: ...
Steven Buehler's user avatar
1 vote
Accepted

Character encoding of the output from URLExecute

Looks like a bug to me. Please report it to the support. Another workaround: ...
Alexey Popkov's user avatar
1 vote

Character encoding of the output from URLExecute

For some reason, applying ToCharacterCode and then FromCharacterCode to the problematic strings seems to fix the encoding: ...
vsht's user avatar
  • 3,527
1 vote

Getting stock quotes from Yahoo Finance API in Mathematica

Alternatively, you could try the following: ...
Nate's user avatar
  • 725
1 vote

How to enable WakaTime for the Mathematica front end?

I have expanded the initial thoughts into a draft package. ...
Gravifer's user avatar
  • 872
1 vote

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

The answer is in their FAQ: https://www.wolfram.com/cdf/faq/ Why can't I edit text in CDF Player? CDF Player is intended as a deployment option. If you want to edit or create applications or ...
SEngstrom's user avatar
  • 1,721

Only top scored, non community-wiki answers of a minimum length are eligible