Questions tagged [webservices]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
67 views

Search using Query fails accessing ChemSpider with Mathematica

Performing a search with "Formula" works as expected. Search with "Query" fails. Printout attached to better document the problem.
0
votes
0answers
26 views

Using URLExecute[] for online data acquisition

On the United Parcel Service website(UPS) there is a form where you can enter a zip code and it will return a color coded map that shows shipping times from that zip code. I am trying to use ...
11
votes
1answer
273 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 ...
1
vote
0answers
83 views

Writing to ElasticSearch [duplicate]

Could someone kindly direct me to suitable documentation, Wolfram or otherwise, to connect Mathematica to an ElasticSearch instance. I don't need anything complicated just sufficient to write a record ...
1
vote
1answer
71 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 ...
5
votes
1answer
175 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. ...
1
vote
0answers
24 views

WebImageSearch for images of high resolution?

Is there a way to specify a minimal image dimension when using WebImageSearch? Since it costs money I don't want to do a large search and then filter the results. ...
3
votes
0answers
135 views

Can I use Mathematica to build a complex website? [closed]

I have made all of the pages in WIX. But there is one page, basically, a form page, that WIX currently don't provide dynamic feature. Given that mathematica also is good with Data analyses in the ...
5
votes
1answer
83 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 ...
7
votes
1answer
426 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 ...
3
votes
1answer
399 views

Getting data using webscraping (Obtaining links from search engine with redirect)

In the past I have used the function Import in relation with "Hyperlink" to collect hyperlinks and data from the internet. For ...
3
votes
1answer
75 views

Using OAuthClient to extend ServiceConnect service that requires authentication and POST

I want to extend the functionality of a service available via ServiceConnect, particularly Google Calendar to insert a new event. That action requieres ...
3
votes
1answer
71 views

What are the current options for running Mathematica Enterprise on a web service/cloud with many cores?

The answers to similar questions on Mathematica Stack Exchange and Wolfram Community are several years out of date. I'm doing time-intensive Monte Carlo simulations with Mathematica Enterprise (...
2
votes
0answers
26 views

How to use “Segment” in “GoogleAnalytics” service connection?

I‘m trying to make a GA request using the "Segment" parameter but as the the Wolfram Documentation states, Segment ID must be an integer: segments the data returned for your request; accepts an ...
8
votes
1answer
212 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?
10
votes
1answer
288 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?
6
votes
1answer
508 views

Using sockets to connect to a trading platform

I'm trying to use Binance's API. The following works: ...
7
votes
0answers
324 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 ...
1
vote
1answer
256 views

SocketConnect not connecting to web socket address

I am trying to connect to a web socket feed of the Gdax. The documentation is here, https://docs.gdax.com/#websocket-feed. There is no account needed and the information is public. ...
1
vote
0answers
52 views

Using Iterators within the WebSearch Command

I am currently trying to use the WebSearch command within Mathematica to search names from a Dataset that I have already imported. The names that I am trying to search are located in the 4th column of ...
8
votes
1answer
189 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 ...
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?
10
votes
1answer
256 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 ...
3
votes
0answers
54 views

Using index.html files in Wolfram Cloud sites

Cross post from Wolfram Community: http://community.wolfram.com/groups/-/m/t/1250045 Part as exercise, part so I could write data-science blog posts I built a website builder using Mathematica that ...
3
votes
1answer
109 views

Dynamic WebImageSearch

I am a little bit lost here, I'd be really grateful if someone could help me. :) We are working on a "video" (actually images with transitions). We are having a list of specific words eg.: ...
2
votes
0answers
97 views

Easy way to download/upload to S3?

I need to access a bucket to put and get a few files, is there any nice way to do this in Mathematica?
5
votes
1answer
187 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 ...
1
vote
0answers
69 views

i can't connect to facebook with wolfram connector, any help?

Out[23]= ServiceConnect["Facebook", "New"] In[24]:= ServiceConnect["Facebook"] During evaluation of In[24]:= HTTPClient`OAuthAuthentication::accfail: Failed to obtain OAuth access token for Facebook....
3
votes
1answer
120 views

Using Mathematica how can I simulate the MD5 or SHA encryption of a userid and password performed by htpasswd on Apache?

htpasswd hashes a user's password using the userid. Thus this generator takes both userid and password as inputs and then it outputs a line for inclusion in the <...
10
votes
1answer
615 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? ...
3
votes
0answers
66 views

URLDownloadSubmit is not asynchronous?

I'm trying to download a few thousand images (using an authenticated get request). This explanation of parallel downloading was a great answer to the problem of handling massive parallel asynchronous ...
10
votes
2answers
4k 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 ...
6
votes
1answer
401 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 ...
8
votes
1answer
116 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.
4
votes
1answer
66 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 ...
1
vote
1answer
38 views

Making a service connection for a local process

I know I can customize my service connections and change how I can import data and all that. I also know that a local process that I'd access via command line (e.g. git) acts a lot like a web API, ...
5
votes
1answer
117 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 ...
16
votes
1answer
632 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 ...
17
votes
1answer
527 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?
1
vote
0answers
36 views

Has anyone successfully connected to Google Contacts using ServiceConnect in V11?

When I call: googlecontacts = ServiceConnect["GoogleContacts"] The "Wolfram Connector" widget pops up and I click on "Sign in to Google Contacts" which directs me ...
4
votes
0answers
96 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 ...
6
votes
1answer
143 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 ...
2
votes
0answers
300 views

How to image search on Twitter?

I'm looking for a function to download N images from Twitter with certain text in the tweet. Is there a better way to perform this search than this naive code: ...
25
votes
2answers
519 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: ...
4
votes
2answers
144 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?
12
votes
0answers
190 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 ...
2
votes
0answers
108 views

How to permanently store wolfram connector credentials?

Every time I launch a new frontend session I have to reenter my credentials. Anyway around this?
4
votes
0answers
259 views

Paging results from google custom search service

There is no 'MinItems' suboption, so what is the limit per request? How can I page through results, say like if I wanted the first 2k images from a search? ...
22
votes
1answer
822 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 ...
14
votes
0answers
473 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 ...