40
votes
How can I access NASA images and APIs?
I built a ServiceConnect paclet for this (details on how I did this can be found at the end of this post).
You can access it like so:
...
21
votes
Creating a custom web API ServiceConnection
Template Notebook
I sunk some time into making a good template notebook for integrating with all this. It lives here:
https://github.com/b3m2a1/mathematica-BTools/blob/master/Resources/Templates/...
20
votes
Google Drive API connection: (or how can I build a service connection to an OAuth2 service?)
Code
See this for the main issue that made it take so long to get this up
If you just want the service connection you can get it like this:
...
19
votes
15
votes
Implementing Local HTTP Server
The following is a sample implementation of a simple HTTP server in Wolfram Language code only:
https://github.com/arnoudbuzing/wolfram-server
You send it a POST request where the body data of the ...
14
votes
How to implement a free version of WebImageSearch?
So after being wrong about Bing being free, we'll pursue my other suggestion, which was to use the ServiceConnect framework. I demonstrate how to use it in general here.
For the purposes of this, ...
13
votes
Sophisticated API integrations / Making a card game in Mathematica
This will be an answer in two parts. The first is how to build out a sophisticated, stateful ServiceConnection.
The second is how to use this to build out an ...
13
votes
Accepted
A tour of AWSLink?
I haven't used these submarined functions for EC2, but I have found the S3 functionalities in this package to be extremely useful. Since there is currently no documentation in v11.3, I thought at the ...
13
votes
How to work with ElasticSearch in Mathematica?
Create the new index test and put the data in it:
...
12
votes
Accepted
Use Alpha Vantage as an alternative to Yahoo FinancialData, and how to use financial indicators on these data
Here is something I quickly came up with after a cursory reading of the docs:
...
11
votes
Accepted
Oauth for Khan Academy API
Update: Full Flow
So after much wrangling here is the full OAuth 1.0 flow.
...
11
votes
Accessing House of Graphs data
I did this one by request from Szabolcs. It was a little tough and my implementation is still only in the 1.0.0 stage, but if the demand is there I can polish up the parts of it that remain too rough. ...
10
votes
Implementing Local HTTP Server
Starting in Mathematica 12, there is a built-in function SocketListen that can start a web server and respond to HTTP requests.
...
10
votes
Embed free cloud notebook in web page
Fun Example
I've made use of that here.
I stuck the notebook in an accordion with an opener-thumb so I could generally display the page with it closed:
But people reading the tutorial can click on ...
8
votes
Use Alpha Vantage as an alternative to Yahoo FinancialData, and how to use financial indicators on these data
So this is something that can really be answered just by reading the docs, but maybe it'll be generally useful, so I'll put it here.
First I got an API key from those people, then extended your ...
8
votes
Programmatic browser interaction: How to click on web-page and get new URL and list of links
Since Mathematica 11.3 there is an experimental implementation for WebDriver, a proposed W3C standard that currently supports Chrome and Firefox web browsers. It allows actions such as ...
8
votes
Accepted
Is it possible to get the arXiv ID of all papers being referenced by a specific arXiv paper?
You can use "ID" to construct a URL to link to the references page on ui.adsabs.harvard.edu:
...
8
votes
Is it possible to build a small web site with vanilla Mathematica? How about a web server?
There is an exact solution you are looking for
Pure Wolfram Engine (freeware!) Webserver with many features supported like WebSockets, GET/POST (but no TLS support so far).
Template engine that let ...
7
votes
Accepted
6
votes
Accepted
How to find arXiv articles
Following up on the previous answer you can restrict by date pretty trivially using Mathematica:
...
6
votes
Use Alpha Vantage as an alternative to Yahoo FinancialData, and how to use financial indicators on these data
Here is an example to build on top of Twelve Data OHLCV candles. The advantage is that they offer real-time data throughout the trading session, that AV fails to deliver for some important stocks.
<...
6
votes
Making a keychain in Mathematica
This is a long-ish answer with very little core code. I stuck all of it in a block at the end
So to keep this applicable to before v11.1 we'll use Encode over <...
6
votes
Accepted
Getting data using webscraping (Obtaining links from search engine with redirect)
Let's step back and do something simpler:
...
6
votes
Accepted
How to download arXiv article PDF files and TEX files in "Other formats" (if they exist)?
To download PDF's for a list of article ID's:
...
6
votes
Last part of a url (after the "/")
In addition, using a modification of this regex:
(StringCases[#, RegularExpression["[^/]+$"]]&/@list)//Flatten
{0208009v1, 0905.0227v1, 0907.5143v2, ...
6
votes
Finding Vaccine Appointments in MA
Disclaimer: This answer and all of the codes created only for educational purposes and the author does not hold any responsibility.
WARNING: Since running the codes below will put heavy pressure on ...
6
votes
Using ExternalStorageUpload with AmazonS3 and public-read ACL
ExternalStorage does not provide options for specifying ACLs or other metadata for uploaded objects.
You could use the AWS service connection to update the ACL of your object after you've uploaded it. ...
6
votes
5
votes
How can I customize my service connection functions?
So after digging through the service connection implementation ( Lookup[PacletInformation/@PacletFind["*OAuth*"],"Location"] will find it for you) we find that if ...
5
votes
Reading Google Docs using the Google API
Here's how I decided to include this in my service connections.
First, I tweaked my template to search out one of these files in my paclet or the "ApplicationData"...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
webservices × 113web-access × 28
serviceexecute × 13
import × 9
wolfram-cloud × 8
image × 6
external-calls × 6
data-acquisition × 5
webdriver × 5
customization × 4
networking × 4
api × 4
socket × 4
authentication × 4
interoperability × 3
java × 3
cloud-deploy × 3
html × 3
searching × 3
internet × 3
social-media × 3
url × 3
parallelization × 2
dataset × 2
files-and-directories × 2