Questions tagged [webservices]

Connecting to Service APIs using the Wolfram Language to query/retrieve data.

Filter by
Sorted by
Tagged with
34
votes
3answers
4k views

Configuring Mathematica to send email from a notebook

I can't get my email settings set properly such that I can use SendMail[] to email directly from Mathematica. I have opened "Preferences", clicked on the tab "...
33
votes
1answer
2k views

How can I access NASA images and APIs?

I ♥ NASA. You ♥ NASA. We all ♥ NASA. So how can I use the images and things they expose in their APIs in Mathematica?
26
votes
2answers
548 views

How to find arXiv articles

I found at Twitter that is possible to search for arXiv articles with Mathematica, e.g. the following code: ...
22
votes
1answer
1k views

Can Mathematica act like a web server?

I have a Mathematica program that modifies images that I would like to make available for other people to use through the web. The input is only one parameter. So, for example, I could run it as a ...
20
votes
2answers
1k views

Running Mathematica in the cloud

Which solutions are available in order to run a Mathematica notebook or package in the cloud? I would like to have access to at least say 30 cores. I found the following two options: Wolfram Private ...
19
votes
1answer
754 views

Creating a custom web API ServiceConnection

Can I build a custom API service connection that links into the standard framework? I know there are paclets that seem to implement this. How are they structured and how can I write my own?
18
votes
2answers
2k views

How can I get Google search results with Mathematica?

I am trying to write a function that, starting from a string, returns the Google search hits on that string (the format and other stuff, I still have to decide). I have looked around and have found ...
17
votes
3answers
1k views

Implementing Local HTTP Server

How might I implement a local HTTP server using either Java, C#, C or purely Mathematica? It should be able to respond with Mathematica input to GET and POST requests ideally on W7. This is related ...
16
votes
2answers
1k views

Google Image Search in Notebook?

How can I use Google's image API to custom search for images and import them all?
16
votes
3answers
9k views

How to request financial data from Yahoo's YQL and Quandl?

How can I download historical data from Yahoo ? Although Mathematica's FinancialData function uses Yahoo it could be useful to have more control on how to retrieve data from Yahoo's YQL. Edit ...
16
votes
1answer
735 views

Google Drive API connection: (or how can I build a service connection to an OAuth2 service?)

From here I know how to build a a basic service connection. And that's fine in simple authentication cases but how do I do this for OAuth services? Even more specifically, how can I do this for ...
16
votes
0answers
571 views

Mathematica HPC on AWS vs. Azure

I am looking for advice on deploying Mathematica for HPC in an on-demand cloud environment. I occasionally have Mathematica projects that require parallel computing and large amounts of RAM. These ...
12
votes
3answers
686 views

Is it possible to import data from Google Analytics?

Using Mathematica, is it possible to pull data directly from Google Analytics? Unfortunately, GA exports messy csv files, and I was wondering if there was a direct ...
12
votes
1answer
349 views

How to work with ElasticSearch in Mathematica?

Steps to install and run ElasticSearch: install Java (64-bit): https://www.java.com/en/download/manual.jsp download ElasticSearch (https://www.elastic.co/start) and extract archive in ...
12
votes
1answer
352 views

A tour of AWSLink?

Seems like there are a lot of useful functions in this undocumented package AWSLink: Any developers on here that can demo it a bit?
12
votes
2answers
624 views

Creating REST Web Service with webMathematica

Does anyone knows how can I implement a REST Web Service with webMathematica? The SOAP service is well documented here and in the webMathematica User Guide. I saw that is possible to create a REST ...
12
votes
0answers
220 views

Is it possible to search the web by image from Mathematica?

Is it possible to perform a web search based on an image input? There are several services that provide this: Google, Bing, TinEye, and maybe others. I am not sure which can be accessed ...
11
votes
3answers
5k views

Use Alpha Vantage as an alternative to Yahoo FinancialData, and how to use financial indicators on these data

Alpha Vantage Inc. is a leading provider of free APIs in JSON and CSV formats for real-time and historical stock market data. With the recent glitch of the Yahoo Finance API, and with ...
11
votes
1answer
411 views

Getting data from FRED

Mathematica V10.4 supports a service for connection to FRED. If you create a connection with fred = ServiceConnect["FederalReserveEconomicData"] (you need to ...
10
votes
1answer
735 views

How to implement a free version of WebImageSearch?

I really don't like functions that I have to pay for, if they can be implemented for free. Is there a way to get around this pay-wall for WebImageSearch? Perhaps using some other free api or service? ...
10
votes
1answer
300 views

Accessing House of Graphs data

House of Graphs is a fun little website that provides access to a number of interesting graphs. Unfortunately it doesn't have a readily-accessible API. Can I still get access to the data underneath?
10
votes
1answer
349 views

Embed free cloud notebook in web page

I want to add interactivity to my web pages via the cloud, but don't want to use the buggy, expensive cloud-notebook-only paradigm. I'd much prefer to use static HTML and JS. Can I load a cloud ...
10
votes
1answer
659 views

Can I get access to Amazon's AWS API?

Has anyone tried accessing the Amazon web services (AWS) API from Mathematica? I'm assuming the HTTP WebService module of Mathematica would be a starting point. Any suggestions on getting started ...
8
votes
1answer
366 views

Sophisticated API integrations / Making a card game in Mathematica

Earlier today I saw that there was a deck of cards API. It's a relatively simple API, but it does require us to handle statefulness. How can I link to this to, e.g., build out a Mathematica version ...
8
votes
1answer
198 views

How to deploy a notebook cell into my website

In 2014, Steven Wolfram deployed a live Mathematica notebook cell into a blog post in his website. I'd like to do the exact same thing, but can't for the life of me figure out how he did it. It ...
8
votes
1answer
134 views

Making a keychain in Mathematica

How can I build a password keychain in Mathematica? I have a number of different accounts that I use programmatically and it's annoying to have to put in my login info each time.
8
votes
1answer
177 views

Wolfram Cloud and reCAPTCHA

Is there a piece of Wolfram Language code out there that integrates reCAPTCHA (for human verification) into the Wolfram Cloud environment? This is what the reCaptcha service looks like (in Swedish): ...
8
votes
0answers
299 views

Exporting Classify Models

Currently I have created a simple classifier to classify sentiment from a string of text (or a tweet). The code is very basic and looks something like this: ...
7
votes
1answer
673 views

Programmatic browser interaction: How to click on web-page and get new URL and list of links

In Mathematica it's easy to Import data from the web and perform all sort of Web Operations. But the later doesn't allow to simulate a more interactive browser ...
7
votes
1answer
441 views

How to integrate Mathematica with other software

Mathematica is a fantastic platform for Mathematical analysis, physics, quantitative finance and most realms of scientific work. However, it doesn't serve well for general purpose programming, in ...
7
votes
0answers
491 views

Communicating with server over Websocket using SocketConnect

I am trying to connect to a web socket feed of Gdax. The documentation is here, https://docs.gdax.com/#websocket-feed. There is no account needed and the information is public. I have successfully ...
6
votes
1answer
602 views

How to asynchronously download 100000 urls in an efficient way

URLSaveAsynchronous can download one url page, how to download 100000 urls in an efficient way? And better to with an whole progress bar. I've downloaded 90000 ...
6
votes
1answer
463 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 ...
6
votes
1answer
616 views

Using sockets to connect to a trading platform

I'm trying to use Binance's API. The following works: ...
6
votes
1answer
150 views

Using CloudDeploy to build a website for diagrams for Physics/Math teachers

I create a lot of diagrams in Mathematica like the one below for my physics and math study guides. What I'd like to do is create a website where teachers could rapidly customize images like this and ...
6
votes
0answers
123 views

Is it possible to send a Whatsapp message from Mathematica?

Just as the question reads. The only way I could think of this working is if one could interface with the Whatsapp web app. The motivation is to simply alert me when simulations or batch routines ...
6
votes
0answers
207 views

Using stateful web services with Mathematica 9

The WebServices package in Mathematica 9 no longer seems to support stateful web sessions. This requires the client (i.e., the WebServices package) to pass back the HTTP Cookies that it receives from ...
6
votes
0answers
179 views

How to deal with WebServices error “any is not supported in sequence”?

I am trying to aquire data through Mathematica's WebServices and this example works just fine: ...
5
votes
2answers
124 views

How to start an incognito web session?

Is this possible to do with StartWebSession, in either with Chrome or Firefox?
5
votes
1answer
192 views

Is it possible to get the arXiv ID of all papers being referenced by a specific arXiv paper?

I ran the below code and obtained a paper article001 with arXiv ID 1609.05206v3. ...
5
votes
1answer
101 views

How to download arXiv article PDF files and TEX files in “Other formats” (if they exist)?

I find that ServiceConnect can access much arXiv information. But is it possible to download the PDF/TEX files I want, e.g., given article ...
5
votes
1answer
149 views

How can I customize my service connection functions?

I've got a service connection function where I want to be able to pass the body arguments as a multipart JSON argument, unfortunately the best the standard service connect framework will let me do is ...
5
votes
1answer
249 views

Reading Google Docs using the Google API

I've followed Google's instructions for generating a local client_secret.json file for programmatic access to my Google Docs, but it's not clear to me how to use ...
5
votes
0answers
81 views

AppearanceRules on multipage Web Form

I'm attempting to make a web survey using FormFunction. To list the questions I am using AppearanceRules to give each page an ...
5
votes
0answers
468 views

Consuming a SOAP service that requires a complexType authentification header

Short version: Why do I get a $RecursionLimit error when calling NewSchemaInstance[SomeInstalledType] and how do I fix it? ...
4
votes
1answer
88 views

Finding Vaccine Appointments in MA

Everyday I spend a crazy amount of time clicking though each maze of hyperlinks and forms on this horrendous site: https://vaxfinder.mass.gov/ Is there anyway that Mathematica can help speed up the ...
4
votes
1answer
572 views

How to create tickets on a Jira server using Mathematica?

Has anyone ever tried to use Atlassian's rest api from Mathematica? I'd love an example of a post request to create a ticket with specific properties. With cURL, it's easy: ...
4
votes
2answers
176 views

How can I pass authentication credentials to ServiceConnect[“GoogleCustomSearch”]?

Is it possible to connect to the GoogleCustomSearch service without entering the authentication credentials in the popup dialog every time?
4
votes
1answer
74 views

Getting time zones by answer times

So I built an SE service connection and as a piece of pure curiosity I wanted to see if I could determine what a given user's time-zone was by the times which they answer. I managed to pull in all ...
4
votes
0answers
109 views

How to get credential for BingSearch?

When I do ServiceConnect["BingSearch"], it asks me to get credential for the service. When I click on the link it provided, it takes me to Microsoft Azure, and I ...